Blockland Forums > General Discussion
Yo Necesito 'Event_IfPlayerDirection'
M:
It's in the holding tank now.
The replacers are:
<var:player:yaw> - Returns facing as 0-359 degrees; 0/360 being North, 90 is East, 180 South and 270 West. May require multiple checks to check just the NESW facing or whatever but it does give you a bit more control over things, which is important.
<var:player:pitch> - Returns pitch as -90 to 90 degrees; -90 being down, 90 being up.
When it's approved (if it's approved, never discount that possibility) post any suggestions for any new variable replacers you may have in the thread, I wanna make a big ol' pack of them! ;)
phflack:
--- Quote from: M on November 23, 2010, 06:28:31 PM ---It's in the holding tank now.
The replacers are:
<var:player:yaw> - Returns facing as 0-359 degrees; 0/360 being North, 90 is East, 180 South and 270 West. May require multiple checks to check just the NESW facing or whatever but it does give you a bit more control over things, which is important.
<var:player:pitch> - Returns pitch as -90 to 90 degrees; -90 being down, 90 being up.
When it's approved (if it's approved, never discount that possibility) post any suggestions for any new variable replacers you may have in the thread, I wanna make a big ol' pack of them! ;)
--- End quote ---
yay, thanks :D
MackTheHunter:
--- Quote from: M on November 23, 2010, 06:28:31 PM ---It's in the holding tank now.
The replacers are:
<var:player:yaw> - Returns facing as 0-359 degrees; 0/360 being North, 90 is East, 180 South and 270 West. May require multiple checks to check just the NESW facing or whatever but it does give you a bit more control over things, which is important.
<var:player:pitch> - Returns pitch as -90 to 90 degrees; -90 being down, 90 being up.
When it's approved (if it's approved, never discount that possibility) post any suggestions for any new variable replacers you may have in the thread, I wanna make a big ol' pack of them! ;)
--- End quote ---
ROVERY
Very useful.
Plant:
If this were to be used with a fixed version of the SetVehicleAsPlayerControl event along with a bot turret similar to Heed's AA Turret, we would have the first actual working space turret on blockland, complete with safety features!