• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Yes, I edited it, is there any problem ?

You can compare the file size currently at the Spell Section and mine here.
I added extra conditions where it meets the path, it stops.

Oh and also, I edited the terrains too lol
 
Status
Not open for further replies.
Top