Oh gosh I h8 this spell help

Status
Not open for further replies.

RedRage

New Member
Reaction score
7
Spell=Retarded Need help =/

Dunno whats wrong... I've made this before but the pausing doesn't work. I want to play targeted units death alternate and pause the unit in mid air, but its not working, which it should because of done that before in many spells.
thxs

Code:
Untitled Trigger 001
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Suck Blood 
    Actions
        Set SuckBloodCaster = (Triggering unit)
        Set SuckBloodCasterPoint = (Position of SuckBloodCaster)
        Set SuckBloodVictim = (Target unit of ability being cast)
        Set SuckBloodVictimPoint = (Position of (Target unit of ability being cast))
        Unit - Pause SuckBloodCaster
        Unit - Hide SuckBloodCaster
        Unit - Create 1 Dreadlord for (Owner of SuckBloodCaster) at SuckBloodCasterPoint facing ((Facing of SuckBloodVictim) + 180.00) degrees
        Set SuckBloodDummy = (Last created unit)
        Unit - Add Crow Form to SuckBloodVictim
        Animation - Play SuckBloodVictim's death alternate animation
        Wait 0.20 seconds
        Unit - Pause SuckBloodVictim
        Special Effect - Create a special effect attached to the overhead of SuckBloodVictim using Objects\Spawnmodels\Orc\Orcblood\BattrollBlood.mdl
        Animation - Change SuckBloodVictim flying height to 100.00 at 500.00
        For each (Integer A) from 1 to 3, do (Actions)
            Loop - Actions
                Animation - Play SuckBloodDummy's spell animation
                Wait 1.00 seconds
        Animation - Change SuckBloodVictim flying height to 0.00 at 500.00
:cool::rolleyes:
 

warroom99

New Member
Reaction score
15
i think you should first pause the unit then animate it

i think you cannot put waits inside a loop...
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
890
> i think you cannot put waits inside a loop...

Well, Integer A loops are usually fine.
Unless another trigger is trying to use an Integer A loop at the same time....
 
Status
Not open for further replies.
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top