Jump to content
Sign in to follow this  
galzohar

How to check if player has UAV terminal?

Recommended Posts

"B_UavTerminal" in assignedItems player;

Should work I think

Edited by kylania

Share this post


Link to post
Share on other sites

Thanks.

It needs to be "B_UavTerminal" though, as it appears in is case-sensitive.

Share this post


Link to post
Share on other sites

Cool. Building on this, is there a way to detect if player then successfully connects to UAV?

As in, tsk1 is get a terminal, tsk2 is connect to UAV?

Share this post


Link to post
Share on other sites

Or as a condition to check connection to any UAV:

!(isNull (getConnectedUav player))

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  

×