-
Notifications
You must be signed in to change notification settings - Fork 2
VRMod
Last updated for version v0.3.1
This is a sub-addon in VExtensions that allows you to interface with VRMod.
If you find any bugs, please report them to the Issues page.
Returns 1 if a player is in VR or not, else 0.
Returns 1 if a player is using empty hands in VR or not, else 0.
Returns the vector position of the head mounted device (the vr headset) of a player using VR.
Returns the angle of the head mounted device (the vr headset) of a player using VR.
Returns the vector position of the player's left hand in VR.
Returns the angle of the person's left hand in VR.
Returns the vector position of the player's right hand in VR.
Returns the angle of the player's right hand in VR.
If enable is not 0, the chip will start running on people entering VR.
If enable is 0, stops running on those events.
Returns whether the chip was called on a vrEnter event.
Use vrEnterPly to get the player.
Returns the player to enter vr whom caused the vrEnter event.
Sets the chip to run on people exiting vr, if enable is not 0. If enable is 0, stops it from running on those events.
Returns whether the chip was run on a vr exit event.
Use vrExitPly to get the player.
Returns the player to exit vr, causing the vr exit event.
If enable is not 0, sets the chip to run on players in VR picking up a prop.
Else, stops it from running on those events.
Returns whether the chip was called on a vr pickup event.
Use vrPickupPly to get the player, vrPickupEnt to get the prop.
Returns the player to pickup a prop in vr, causing the prop pickup event.
Returns the prop that was picked up by vrPickupPly.
If enable is not 0, sets the chip to run on players in VR dropping a prop.
Else, stops it from running on those events.
Returns whether the chip was called on a vr prop drop event.
Use vrDropPly to get the player, vrDropEnt to get the prop.
Returns the player who dropped a prop in vr, causing the prop drop event.
Returns the prop that was dropped by vrDropPly.
See more in-depth examples in our Discussions