sunshinex3
You can change this now in User CP.
- Reaction score
- 7
Could i get some one to double check this trigger its not working for me.
Second Trigger....
Third Trigger....
thats it unless i need more it looks like it should work im useing the roar ability with this trigger.
Code:
Time Lapse Caster Initialization
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Time Warp (Nordizumu)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
timeLapse_currentInstances Equal to 0
Then - Actions
Countdown Timer - Start timeLapse_timer as a Repeating timer that will expire in 0.10 seconds
Else - Actions
Set timeLapse_whichUnit = (Triggering unit)
Set timeLapse_currentInstances = (timeLapse_currentInstances + 1)
Set timeLapse_caster[timeLapse_currentInstances] = timeLapse_whichUnit
Set timeLapse_casterLoc[timeLapse_currentInstances] = (Position of timeLapse_whichUnit)
Set timeLapse_casterHealth[timeLapse_currentInstances] = (Life of timeLapse_whichUnit)
Set timeLapse_casterMana[timeLapse_currentInstances] = (Mana of timeLapse_whichUnit)
Set timeLapse_casterFacing[timeLapse_currentInstances] = (Facing of timeLapse_whichUnit)
Second Trigger....
Code:
Time Lapse Periodic Event
Events
Time - timeLapse_timer expires
Conditions
Actions
For each (Integer A) from 1 to timeLapse_currentInstances, do (Actions)
Loop - Actions
Set timeLapse_casterFacing[(Integer A)] = (Facing of timeLapse_caster[(Integer A)])
Set timeLapse_casterHealth[(Integer A)] = (Life of timeLapse_caster[(Integer A)])
Set timeLapse_casterMana[(Integer A)] = (Mana of timeLapse_caster[(Integer A)])
Custom script: if (udg_timeLapse_casterLoc[bj_forLoopAIndex] != null) then
Custom script: call RemoveLocation(udg_timeLapse_casterLoc[bj_forLoopAIndex])
Custom script: endif
Set timeLapse_casterLoc[(Integer A)] = (Position of timeLapse_caster[(Integer A)])
Code:
Time Lapse Actions
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Time Warp (Nordizumu)
Actions
Set timeLapse_whichUnit = timeLapse_caster[(Integer A)]
For each (Integer A) from 1 to timeLapse_currentInstances, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
timeLapse_whichUnit Equal to timeLapse_caster[(Integer A)]
Then - Actions
Unit - Move timeLapse_caster[(Integer A)] instantly to timeLapse_casterLoc[(Integer A)], facing timeLapse_casterFacing[(Integer A)] degrees
Unit - Set life of timeLapse_whichUnit to timeLapse_casterHealth[(Integer A)]
Unit - Set mana of timeLapse_whichUnit to timeLapse_casterMana[(Integer A)]
Special Effect - Create a special effect at timeLapse_casterLoc[(Integer A)] using Abilities\Spells\Undead\RaiseSkeletonWarrior\RaiseSkeleton.mdl
Special Effect - Destroy (Last created special effect)
Skip remaining actions
Else - Actions
Do nothing