• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Help x_X

Status
Not open for further replies.
Level 4
Joined
Aug 3, 2008
Messages
58
How to: Slide
uhh yea i followed the directions for periodic slide event but i got 3 script errors
heres a piece of it
"error"
"Call RemoveLocation (udg_MoveToPoint)"
"Call RemoveLocation (udg_CasterPosition)"
if ( Trig_Slide_Effect_Func009C() ) then
call PauseUnitBJ( false, udg_Caster )
call SetUnitPathing( udg_Caster, true )
call ResetUnitAnimation( udg_Caster )
udg_Caster = null
"call RemoveLocation (udg_MoveToPoint)"
I needz help x_X thx
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
JASS:
    call RemoveLocation (udg_MoveToPoint)
    call RemoveLocation (udg_CasterPosition)
    if ( Trig_Slide_Effect_Func009C() ) then
        call PauseUnitBJ( false, udg_Caster )
        call SetUnitPathing( udg_Caster, true )
        call ResetUnitAnimation( udg_Caster )
        set udg_Caster = null
        call RemoveLocation (udg_MoveToPoint)

Use the above and compair.

Removed the "".
Lowercased the call s.
Added a set to "udg_Caster = null"

Note that below that script there has to be an endif or else it will error.
 
Status
Not open for further replies.
Top