• 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.

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