Blockland Forums > Suggestions & Requests
VCE Variables : PlayerAim
<< < (4/5) > >>
Deathwishez:
Aim? Like orientation?

<var:player:oriX>
<var:player:oriY>
<var:player:oriZ>
boodals 2:
I was thinking about this last night. BL needs to stealborrow some things from Gmod Wire Tool. Like Aimer, worldposition, etc.

I think Deathwishez got the idea, but you wouldnt need z.

<var:player:oriX> = Angle your facing on the X axis, (Across). In degrees. N = 0o. Just less than that is 359o
<var:player:oriY> = Angle your facing on the Y axis, (Or is this Z?) (Up and down). In degrees. Fully up is 180o, fully bottom is 0o.

Ive tried to make a simpler version of this, it failed epicly..
Deathwishez:
You would need Z.

The X orientation is from up to down (from feet to sky)
The Y orientation is from left to right (tilting, which can only be done in vehicles)
The Z orientation is from front to back (spinning around)
Loopyla1:
No...

Ugh this is hard to explain.

--- Quote from: Loopyla1 on May 23, 2010, 03:39:47 PM ---It took me a while to understand that.

Basically, you want a VCE event that targets an output event in the direction your player is facing?

--- End quote ---
Alphadin:
Player:
[  O]     ---------->
 ----      S T A R E

They step on a brick:
Onplayer touch - self - VCE_Ifvalue - [<var:pl:(X,Y,Z)facing>] [200]
Vartrue - player - kill

OR this

They step on a brick:
Onplayer touch - self - VCE_Ifvalue - [<var:pl:facing(East, up, down, west, south, north>] [1]
Vartrue - player - kill

The one Means "Yes", and the reason the first one has 200, Is because they want the angle at 200 Degrees X (Litteraly)

I think he meant this / This should be made.
Navigation
Message Index
Next page
Previous page

Go to full version