Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
gutiarhero814

using GetplayerUID for trigger area.

Recommended Posts

Ive lost a few demo missions I had. One was using GetplayerUID to use with a trigger that if a player wasnt in the masterUID it would teleport them to a designated area via coordinates. Anyone have anything like that still lying around? let me know

Share this post


Link to post
Share on other sites

Try this:

Init.sqf

UIDARRAY = [];// Your UID strings inside

Editor:

Trigger >> Blufor Present >> Repeat

Condition:

this && {!((getPlayerUID _x) in UIDARRAY)} count thisList > 0

onAct:

{_x setPos (getPos myPos)} forEach thisList

Place an object named myPos where you want the player's to teleport to.

Share this post


Link to post
Share on other sites

If you're using the sp editor. Go into mp editor instead (hosted) or host a dedicated via arma3dedicated.exe.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×