Also on http://www.verge-rpg.com/docs/view.php?libid=1§ion=35
entity.face - (read/write) Returns a number that corresponds to the direction the entity is facing. Changing this will change the direction the entity is facing. Setting it to an invalid value can crash the system.
(up) 1
|
(left) 3 --+-- 4 (right)
|
2 (down)
so if the player is facing up, you can do this:
int i = entity.face[GetPlayer()];
Log( "this will say 1 because the player is facing up: " + str(i) );
or to set the player's facing to the right, you could do this:
entity.face[GetPlayer()] = 4;