Pausing Doesn't Work Help [Spell]

RedRage

New Member
Reaction score
7
Ok... I've remade this thread because old one wasn't getting any replies, and i'm hoping the name will attract people who had problems like this. So the problem is i want the unit to be paused .2 seconds after death alternate animation is played of unit which is attacked by the spell. So basically the unit will be paused mid-air. SIMPLE? Nope... It doesn't work
Thxs in advance




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
 

Naminator

Coming Back To Life
Reaction score
76
Have you ever try pause the unit after you change the flying height?. It cause to pause the unit in the middle of the air. Wait the time you need before pause. Somethinh like this.

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
        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
        Wait 0.20 seconds
        Unit - Pause SuckBloodVictim
        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

I could be wrong..
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Base your spell off Storm Bolt...It has stun, which mean, immoveability.
And you should also add two custom script lines to remove the leaks while you are at it.
 

RedRage

New Member
Reaction score
7
I wasn't done my spell, and second their is no stun, and third i tryed every combo still doesn't work
 
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