Blockland Forums > Suggestions & Requests
VCE Variables : PlayerAim
Deathwishez:
This is what I said.
onPlayerTouch > Self > VCE_ifValue > [<var:pl:oriX>] >= [180] [ ] (This means that the player is looking straight up or more)
Chart:
X @ 0 = Straight down
X @ 90 = Straight forward
X @ 180 = Straight up
X @ 270 = Bending backwards and seeing behind them (Not possible under normal circumstances)
Y @ 0 = Standing straight up
Y @ 90 = Laying on side with head facing right (Not possible under normal circumstances)
Y @ 180 = Upside down (Not possible under normal circumstances)
Y @ 270 = Laying on side with head facing left (Not possible under normal circumstances)
Z @ 0 = Facing forward (North)
Z @ 90 = Facing east
Z @ 180 = Facing south
Z @ 270 = Facing west