Author Topic: VCE Variable Replacer suggestion: touch, activate, ...  (Read 460 times)

I just realized, unless these are already made and I just never used them, that there aren't variable replacers for checking the condition of a player action, such as Onactivate or onplayertouch.

Here is a scenario.

Player touching/not touching the brick.  Uses Sub events because I can.
Code: [Select]
[0] [0] [Onplayertouch] [Self] [Dosub] [1 1]
[1] [1000] [Onsub] [Self] [Dosub] [1 2]
[2] [0] [Onsub] [Client] [Centerprint] [<var:pl:touch>]

What happens here is that, when the person touches the brick, the value comes back to be 1.  When the player stops touching the brick, it is displayed as 0.  Same thing for activate or any other default input event.

/discuss/make

OnPlayerFirstTouch and OnPlayerStopTouching should make this possbile if im understanding right

unless you mean like var:pl:touching or var:pl:clicking  cuz those already come with default VCE events

I think there is a non-VCE addon for this on RTB.

there is var:pl:firing
but I'm not sure about touching