Hmmm, you shouldn't really need to move your player like that. If you make use of the rotateentity/turnentity commands and simply use, moveentity, it will direct your entity the way it's facing. Saves you working out the maths.
CollisionNY# ( entity,index )
Parameters
entity - entity handle
index - index of collision
from the docs. is the last parameter you stated, a collision index number? You will need to count the number of collisions and use the appropriate index number.
CollisionNY# ( entity,index )
Parameters
entity - entity handle
index - index of collision
from the docs. is the last parameter you stated, a collision index number? You will need to count the number of collisions and use the appropriate index number.