• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Help On Daelins's Basic Of Trigger Enchancing Spells

Status
Not open for further replies.
Level 6
Joined
Nov 10, 2006
Messages
181
Hey guys I need some help. Daelin made a example spell for us in the thread at GUI tutorials.I need help on the trigger which is If (((Target unit of ability being cast) is A structure) Equal to True) then do (Unit - Order (Last created unit) to damage (Target unit of ability being cast) for (25.00 + (25.00 x (Real((Level of Shock Destructor for (Triggering unit)))))) using attack type Magic and damage type Fire.) else do (Do nothing)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)

how do u get that I get If (((Target unit of ability being cast) is A structure) Equal to True) then do (Unit - Order (Last created unit) to damage (Target unit of ability being cast) for (25.00 + (25.00 x (Real((Level of Shock Destructor for (Triggering unit)))))) using attack type Magic and damage type Fire.) else do (Do nothing
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
for if Unit type is not structure
its in boolean conditions
Unit - Unit Classfiction

for damaging
Unit - Unit Damage Target
 
Level 6
Joined
Nov 10, 2006
Messages
181
(Unit - Order (Last created unit) to damage (Target unit of ability being cast) for (25.00 + (25.00 x (Real((Level of Shock Destructor for (Triggering unit)))))) using attack type Magic and damage type Fire.) else do (Do nothing) how do u do that thats my question
 
Level 6
Joined
Nov 10, 2006
Messages
181
I did try but i just couldn't get this part right Order (Last created unit) to damage (Target unit of ability being cast) for (25.00 + (25.00 x (Real((Level of Shock Destructor for (Triggering unit)))))) using attack type Magic and damage type Fire.) else do. The rest i could do
 
Status
Not open for further replies.
Top