Living Bomb

The newbie

New Member
Reaction score
0
Trigger:
  • Living Bomb
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Living Bomb
    • Actions
      • Wait 12.00 seconds
      • Set TempTargetPos = (Position of (Target unit of ability being cast))
      • Unit - Cause (Casting unit) to damage circular area after 0.00 seconds of radius 350.00 at (Center of (Playable map area)), dealing 300.00 damage of attack type Spells and damage type Fire
      • Special Effect - Create a special effect at TempTargetPos using Objects\Spawnmodels\Human\FragmentationShards\FragBoomSpawn.mdl
      • Set Hero_Special_Attached_Fx[(Player number of (Owner of (Triggering unit)))] = (Last created special effect)
      • Custom script: call RemoveLocation (udg_TempTargetPos)


What is wrong with the effect. The damage works, but I would like an effect. The effect is under the category "spawned", will another category work better?
I have also tried to disable Set Hero_Special_Attached_Fx[(Player number of (Owner of (Triggering unit)))] = (Last created special effect), but made no difference.
 

TideOfChaos

New Member
Reaction score
25
Trigger:
  • Living Bomb
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Living Bomb
    • Actions
      • Set TempTargetPos = (Position of (Target unit of ability being cast))
      • Unit - Cause (Casting unit) to damage circular area after 12.00 seconds of radius 350.00 at (TempTargetPos), dealing 300.00 damage of attack type Spells and damage type Fire
      • Special Effect - Create a special effect at TempTargetPos using Objects\Spawnmodels\Human\FragmentationShards\FragBoomSpawn.mdl
      • Set Hero_Special_Attached_Fx[(Player number of (Owner of (Triggering unit)))] = (Last created special effect)
      • Custom script: call RemoveLocation (udg_TempTargetPos)


You might need to put a 12 second wait inbetween the Special Effect and The Damage.
 

SwedishChef

New Member
Reaction score
32
You might need to put a 12 second wait inbetween the Special Effect and The Damage.

why??:confused: Have you tried using other effects first to see if its not the special effect which isnt working?? Try for example to make footman special effect (found under units) and see if he shows up..if he dosnt change your explosion effect to something else.

E: also this trigger wont work (if you have the wait) if more than one player has the living bomb and use it at the same time, since the triggers variables will overwrite itself
 

The newbie

New Member
Reaction score
0
Trigger:
  • Mage Living Bomb explosion
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Living Bomb
    • Actions
      • Wait 12.00 seconds
      • Set TempTargetPos = (Position of (Target unit of ability being cast))
      • Unit - Cause (Casting unit) to damage circular area after 0.00 seconds of radius 1000.00 at TempTargetPos, dealing 1000.00 damage of attack type Spells and damage type Fire
      • Special Effect - Create a special effect at TempTargetPos using Abilities\Spells\Items\AIfb\AIfbSpecialArt.mdl
      • Set Hero_Special_Attached_Fx[(Player number of (Owner of (Triggering unit)))] = (Last created special effect)
      • Custom script: call RemoveLocation (udg_TempTargetPos)


I'm gonna fuck the effect, but my damage doesn't work xD. Earlier I forgot it was still placed as "center of playable map" and I set the damage and range to 99999, just to see. But even with values (range/damage) 9999999 it doesn't work when I use tempTargPos. I have tried different thing, without wait etc. but nothing seems to work. 'Am getting tired of this crap spell.
 

nabbig2

New Member
Reaction score
43
I know why; It doesn't know the casting unit after a Wait.

Solution: Set the units to variables before the wait, and then use them as variables after the wait.
 

The newbie

New Member
Reaction score
0
Then I can't cast more of them as the same time, right? Coz it would overwrite with new variables...
 

the_ideal

user title
Reaction score
61
Warcraft III tends to "forget" casting unit. If you're going to use waits, use triggering unit instead. (I always use triggering unit.)
 

SwedishChef

New Member
Reaction score
32
well if your going to make it work fully when using more players im not going to lie to you, you will have to make it a lot more advanced if only 1 unit of every player can be "bombed" then u make unit variable with number of players arrays. When they cast set Unit Variabel = casting unit wait do rest of action, if more than one unit shall use it from every player then u will have to make a mui trigger with wait, i know a great guide for this. HEres the link http://www.thehelper.net/forums/showthread.php?t=111694 this will be hard if you not used to trigger, but u will make it :D
 

The newbie

New Member
Reaction score
0
Thanks for everyting, I will try the MUI thing, but if it doesn't work out, ill just throw it out ;) Thanks all
 
General chit-chat
Help Users
  • WildTurkey WildTurkey:
    is there a stephen green in the house?
    +1
  • The Helper The Helper:
    What is up WildTurkey?
  • The Helper The Helper:
    Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
  • The Helper The Helper:
    Plus - I have a pretty bad ass recipe collection now! That section of the site is 10 thousand times better than it was before
  • The Helper The Helper:
    We now have a web designer at my job. A legit talented professional! I am going to get him to redesign the site theme. It is time.
  • Varine Varine:
    I got one more day of community service and then I'm free from this nonsense! I polished a cop car today for a funeral or something I guess
  • Varine Varine:
    They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
  • The Helper The Helper:
    whatever at least you are free
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top