Jump to content
  • 0

Player direction variable:


Question

Posted

How would I go about something like if my character was moving down or facing down it would set the variable to 0-3?

3 answers to this question

Recommended Posts

  • 1
Posted

This is not possible with the current engine. Would only be possible, if a condition was created for movement. You can always make a request in bugs/suggestions. Otherwise it would be possible to add your own conditions once source is released.

  • 0
Posted

You can force a player through a passage where they have to walk down, then when they walk on the event tileย it changes the variable. Not sure how you'd stop the variable from being set to down again if they walk back through though.

ย 

Edit: Ah, of course, you can always enable the tile block on the event to stop players walking back through.

ย 

×
×
  • Create New...