Sneax x 4 Posted August 8, 2019 Hi, i got this script: params ["_tele","_caller"]; _caller setPos getPos (selectRandom [p1,p2,p3,p4,p5,p6,p7,p8]); it random choose one of those 8points and the you get teleported randomly... i want the same with coordinates... but they are x,y,z so i cant use this script... i find nothing in the web. Thank you for your help! Share this post Link to post Share on other sites
Maff 246 Posted August 11, 2019 Wrong section.Better section. Of course you can use [x,y,z] positions. params ["_tele","_caller"]; _caller setPos (selectRandom [ [10,10,0], [20,20,0], [30,30,0], [40,40,0], [50,50,0], [60,60,0], [70,70,0], [80,80,0] ]); Note: I removed 'getPos' and added an array of positions. Makes sure the z-axis is 0 unless you want _caller to have broken bones at the very least. 1 Share this post Link to post Share on other sites
Dedmen 2588 Posted August 12, 2019 On 8/11/2019 at 3:39 AM, Maff said: Wrong section.Better section. Moved o7. Share this post Link to post Share on other sites
Sneax x 4 Posted August 14, 2019 @Maff Thank you very much! it works! Share this post Link to post Share on other sites