- Joined
- Aug 8, 2010
- Messages
- 1,022
Hi! I want to ask why my trigg. isn't working... i want my target to get in the air and then fall. (the Flying rate thing is for more realistic...) +rep for help!
-
The base TW trig
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Throw [SQueen]
-
-
Actions
-
Set ThrowAirRate = 0.30
-
Set ThrowUnits[0] = (Triggering unit)
-
Set ThrowUnits[1] = (Target unit of ability being cast)
-
Unit - Add Storm Crow Form to ThrowUnits[1]
-
Trigger - Turn on The loop TW trigg <gen>
-
-
-
The loop TW trigg
-
Events
-
Time - Every 0.02 seconds of game time
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Current flying height of ThrowUnits[1]) Equal to 500.00
-
-
Then - Actions
-
Set ThrowAirRate = (ThrowAirRate - 0.02)
-
Animation - Change ThrowUnits[1] flying height to (Default flying height of ThrowUnits[1]) at ThrowAirRate
-
-
Else - Actions
-
Set ThrowAirRate = (ThrowAirRate + 0.02)
-
Animation - Change ThrowUnits[1] flying height to 500.00 at ThrowAirRate
-
-
-
-