• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Casting Spell Problem

Status
Not open for further replies.
Level 13
Joined
Jan 2, 2016
Messages
978
JASS:
            if SU[i] == u and SB[i] then
                set SB[i] = false
                call PauseUnit(u, false)
                call UnitAddAbility(u, 'A02O')
                call ShowB(IssuePointOrder(u, "channel", SEF_X[i], SEF_Y[i]))
                call BJDebugMsg("STORM!")
ShowB(boolean) is a custom function that displays if a boolean is true or false.
This one displays "false". 'A02O' is an ability, based on "channel".

The idea is: I want the units to start performing a cast animation, without looping 20-30 times, queueing "spell" animation, and without allowing them to attack units around them.

Note: the units have locust.
 
Last edited by a moderator:
Status
Not open for further replies.
Top