30.10.2010, 23:08
I was thinking of this the other day, and it's probably possible.
Get two sets of coordinates: xyz1 xyz2
detect if the player is one direction past the line between the two sets of co-ords.
something like that
I had an idea of how it would be done but I forgot
It's a bit like IsPlayerInArea, but with a line, and it can be diagonal.
Just a brainstorm, someone can see if they can make it into a code.
Get two sets of coordinates: xyz1 xyz2
detect if the player is one direction past the line between the two sets of co-ords.
something like that
Code:
x < position 2 / / /x < player position / x < position 1
It's a bit like IsPlayerInArea, but with a line, and it can be diagonal.
Just a brainstorm, someone can see if they can make it into a code.