Jump to content
Sign in to follow this  
d0a1ta

Trigger condition checking for specific human player in driver of a specific vehicle

Recommended Posts

I have a trigger that works by radio, or when anybody enters it, what I want it to do is to check for a specific human player in a specific vehicle as driver then my trigger is activated, suggestions, advise on how to go about it would be appreciated, was trying to do it in the condition field using player uids. Thank you for any suggestions

Trigger is ellipse

type is none

activation is anybody

repeatedly

present

Cond: This is the part I am having trouble with!

private ["uid"];

uid = [0icu812];

if (getplayerUID player in uid) == (driver vec2) then {true} else {false;};

Cond: that half works is but doesn't single out 1 particular playeris below!

player == (driver vec2)

All this below works

on act:

vec2 setObjectTexture [0,"kittybody.paa"]; vec2 setObjectTexture [1,"kittytail.paa"]

on deact:

vec2 setObjectTexture [0,"helibody.paa"]; vec2 setObjectTexture [1,"helitail.paa"]

Edited by d0a1ta

Share this post


Link to post
Share on other sites

Thread moved. Please make sure to post in the right place.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×