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

Problem with spell charge

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
You made the check in front of the location of the charging unit:
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Terrain pathing at MoveLoc of type Walkability is off) Equal to True
    • Then - Actions
      • -------- This action is where it checks the next location whether that location can be walked or not --------
      • -------- If it can't be walked, then stop the spell immediately (I don't know what you want to do if it meets pathing blockers) --------
    • Else - Actions
      • -------- YOUR ACTIONS HERE - THIS ACTION IS TO MOVE THE UNIT --------
The condition is Boolean Comparison - Environment - Terrain Pathing Is Off
 
Status
Not open for further replies.
Top