• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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