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

Arrow Key style movements are unaffected by pathing

Status
Not open for further replies.
Level 4
Joined
Jun 26, 2010
Messages
73
So i have this fps map, and you can move how you want. Even though air and ground pathing blockers.
can someone figure out what i have done wrong with this map?
View attachment Gilded[Herald]Target.w3x
the unit moves using arrow keys to govern where he moves every .01 seconds.
the unit is a ground unit and even in the triggers, they don't allow the unit to move through places that have ground pathing off, but this trooper keeps going through.
helps would be appreciated.
 

sPy

sPy

Level 22
Joined
Apr 10, 2009
Messages
380
I didn't test it but:

1. Do your unit have locust? If yes, you should remove it.
2. Or your unit do not have collision (Which you have removed it by using triggers)

Edit: You could do something like this, just remove your locust. Though it's not completely bug free:
  • Eg1
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- If you don't want your unit to be selectable, you could do something like this. --------
      • -------- Please remember this only an example. --------
      • -------- We set your unit into a variable --------
      • Set Unit[1] = Trooper 0001 <gen>
      • Set Unit[2] = Trooper ? <gen>
      • Set Unit[3] = Trooper ? <gen>
      • Set Unit[4] = Trooper ? <gen>
      • Set Unit[5] = Trooper ? <gen>
      • For each (Integer A) from 1 to 5, do (Actions)
        • Loop - Actions
          • Trigger - Add to Eg2 <gen> the event (Unit - Unit[(Integer A)] Is selected)
  • Eg2
    • Events
    • Conditions
    • Actions
      • Selection - Remove (Triggering unit) from selection for (Owner of (Triggering unit))
 
Last edited:
Status
Not open for further replies.
Top