BlackbirdSD 15 Posted July 13, 2020 A friend and I both start in a parachute in the same group. I have myself set to "Set random start" on 3 different empty markers. How do I make it so he starts in the same random spot I do? Thanks Share this post Link to post Share on other sites
Gunter Severloh 3949 Posted July 13, 2020 Hi BlackbirdSD, Something you can try: Name your player character player1 Name your friend's player character player2 In the init box of your player character player1 put the following: _newpos = player1 modelToWorld [1,-2,0]; player2 setPos _newpos; Untested in terms of working in the air from a parachute, but another version if you want to start on the ground is something i took from a mission i built: player1 setpos (getMarkerPos (selectRandom ["m1","m2","m3"])); _newpos = player1 modelToWorld [1,-2,0]; player2 setPos _newpos; The m1, m2, and m3 are marker names, when the mission starts both player and anyone ( AI or other player) will randomly be moved to any one of those markers, grouped or ungrouped dont matter. Share this post Link to post Share on other sites
BlackbirdSD 15 Posted July 13, 2020 Thanks, I will give it a try. Do i remove the "Set random start" line that connects me and the marker or leave it? Share this post Link to post Share on other sites
BlackbirdSD 15 Posted July 13, 2020 11 hours ago, Gunter Severloh said: Hi BlackbirdSD, Something you can try: Name your player character player1 Name your friend's player character player2 In the init box of your player character player1 put the following: _newpos = player1 modelToWorld [1,-2,0]; player2 setPos _newpos; Untested in terms of working in the air from a parachute, but another version if you want to start on the ground is something i took from a mission i built: player1 setpos (getMarkerPos (selectRandom ["m1","m2","m3"])); _newpos = player1 modelToWorld [1,-2,0]; player2 setPos _newpos; The m1, m2, and m3 are marker names, when the mission starts both player and anyone ( AI or other player) will randomly be moved to any one of those markers, grouped or ungrouped dont matter. The first suggestion works from the parachute. Thank you! What happens if we are both playing on the ground and my friend dies 1000m away from me, will he respawn next to me despite that I have respawns set to "Respawn on death position"? I hope not. Thanks again Share this post Link to post Share on other sites
Gunter Severloh 3949 Posted July 13, 2020 9 minutes ago, BlackbirdSD said: The first suggestion works from the parachute. Thank you! Nice! and your welcome! 9 minutes ago, BlackbirdSD said: will he respawn next to me despite that I have respawns set to "Respawn on death position"? No if you have the respawn set for instant then he will respawn where he died. The code for the ground for the random start is only for the start of the mission, you'll need to define in your description.ext or in the editor under mp what type of spawn you want, prob best respawn for your situation would be side respawn but if you dont have any playable units aside yourself then hes only going to spawn in as a seagull. My suggestion is to setup a mobile respawn, i can show you how if your interested. Share this post Link to post Share on other sites
BlackbirdSD 15 Posted July 13, 2020 Ill give this a try first but thank you so much. Share this post Link to post Share on other sites
Joe98 90 Posted July 14, 2020 Name yourself blue1 Name your friend blue2 You will start at 3 places at random At each of those places create a trigger. Each trigger is fired by you and fired once only In the int of each trigger is a command: blue2 setpos getpos blue1 You start in a random place, you fire the trigger, he is instantly transported next to you. . Share this post Link to post Share on other sites