gutiarhero814 2 Posted October 15, 2014 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
iceman77 19 Posted October 15, 2014 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
gutiarhero814 2 Posted October 17, 2014 thank you very much will try this when i get home! Share this post Link to post Share on other sites
gutiarhero814 2 Posted October 19, 2014 (edited) i have put in my arma ID # and still moves me to my obj. Edited October 19, 2014 by gutiarhero814 Share this post Link to post Share on other sites
iceman77 19 Posted October 19, 2014 K. Are you testing alone or with someone? Share this post Link to post Share on other sites
Heeeere's johnny! 51 Posted October 19, 2014 Be aware that in Singleplayer / Editor mode, the command "getPlayerUID" returns "_SP_PLAYER_" for the player and "_SP_AI_" for AI units. Share this post Link to post Share on other sites
gutiarhero814 2 Posted October 20, 2014 So i would need to run on a server instead of testing in the editor ? Share this post Link to post Share on other sites
iceman77 19 Posted October 20, 2014 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
gutiarhero814 2 Posted October 20, 2014 alright that was my mistake then. Will test out again later today. Share this post Link to post Share on other sites
iceman77 19 Posted October 20, 2014 Okay. Report back the results. Cheers. Share this post Link to post Share on other sites