addRelativeVelocity
1 KB, 12 years ago, submitted by
Output Event - addRelativeVelocity
Information:
This event adds velocity in relation to the current direction the player is facing. For example, if the player is facing east, then the X axis (left/right) would become the Y axis (forward/back) and vice versa.
NOTE: Blockland doesn't supply all of the axes of rotations for players, so the velocity in the z axis (up/down) is just normal velocity.
Credits:
Truce: Having a brain
on-topic:
:o pretty cool, not sure what i'd use it for though
Been waiting for this for so long :D
This event will defently help me on my Portal 2 projects.
1337/10
0000|OnPlayerTouch > Self > FireRelay
1000|OnRelay > Self > FireRelay
0000|OnRelay > Self > IfItemHeld == _____
0000|OnVariableTrue > Client > addRelativeVelocity
NOW THATS CALLED TRAVEL IN RP's!
Onplayertouch - self - setzone - up - [0] [0] [1]
That would be for all gel types.
The second event for Propulsion gel would be:
Onplayertouch - self - setzonevelocitymod - [2]
I'm not sure what would work for Repulsion, but it might be somthing like:
Onplayertouch - Self - setvelocitymod - [-1]
The other gel would be pretty easy, you can figure it out.