TheCrystal
New Member
- Reaction score
- 36
Well, a "Two Minute" spell has taken over two minutes. And it's getting rather annoying.
Tell me why this is happening, I'm losing GetUnitSpellTarget() [(Target Unit of Ability Being Cast)] over a WAIT.
First Game - Display BLEH shows the name, the second one doesn't. Why the shit is this happening? It's getting rather annoying. If I set the unit to a local then have it be called AFTER the wait, JassHelper (Which I have to End Process so I can see the "Previous Errors" in order to know what's wrong) is saying the local isn't defined.
Notes: I've done the normal Wait, same result.
call Wait(NUMBER) works.
call DamageUnit works.
Edit: By "Second one doesn't" I mean it displays "(Null)"
Tell me why this is happening, I'm losing GetUnitSpellTarget() [(Target Unit of Ability Being Cast)] over a WAIT.
Trigger:
- VampireSingledOut
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to (==) Singled Out
- Actions
- Game - Display to (All players) for 30.00 seconds the text: (Name of (Target unit of ability being cast))
- Unit - Pause (Triggering unit)
- Animation - Change (Triggering unit)'s animation speed to 400.00% of its original speed
- Animation - Play (Triggering unit)'s attack 1 animation
- Animation - Queue (Triggering unit)'s attack 2 animation
- Animation - Queue (Triggering unit)'s attack 1 animation
- Animation - Queue (Triggering unit)'s attack 2 animation
- Animation - Queue (Triggering unit)'s attack 1 animation
- Animation - Queue (Triggering unit)'s attack 2 animation
- Animation - Queue (Triggering unit)'s attack 1 animation
- Animation - Queue (Triggering unit)'s attack 2 animation
- Animation - Queue (Triggering unit)'s attack 1 animation
- Animation - Queue (Triggering unit)'s attack 2 animation
- Animation - Queue (Triggering unit)'s attack 1 animation
- Custom script: call Wait(2)
- Animation - Change (Triggering unit)'s animation speed to 100.00% of its original speed
- Unit - Unpause (Triggering unit)
- Game - Display to (All players) for 30.00 seconds the text: (Name of (Target unit of ability being cast))
- Set TempReal = ((4.00 + (Real((Level of (Ability being cast) for (Triggering unit))))) x (Real(ZZZStrength[(Player number of (Owner of (Triggering unit)))])))
- Set TempUnit = (Target unit of ability being cast)
- Set TempUnit2 = (Triggering unit)
- Custom script: call DamageUnit(udg_TempReal5, GetSpellTargetUnit(), udg_TempUnit2, 0)
- Events
First Game - Display BLEH shows the name, the second one doesn't. Why the shit is this happening? It's getting rather annoying. If I set the unit to a local then have it be called AFTER the wait, JassHelper (Which I have to End Process so I can see the "Previous Errors" in order to know what's wrong) is saying the local isn't defined.
Notes: I've done the normal Wait, same result.
call Wait(NUMBER) works.
call DamageUnit works.
Edit: By "Second one doesn't" I mean it displays "(Null)"