OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: BozoTheBrave on 26 Jun 2005, 14:41:58
-
I am creating a mission and I would like that the base of the team appear randomly on the map. My problem is that for each team I have put more than 1 squad and the only way I know to make random bases is by marker link but if I use this the soldiers and vehicles of the team appear on different spots on the map. Can you tell me please if there is a way to make all players appear in a same place and this place to be choosed randomly on the map ?
-
Is this for MP?
Use placement radius field in the first loon to make it appear in a random place. In init.sqs setpos the other loons to a position relative to the first loon. May not work in MP.
-
Yes it is for multiplayer and I want the base to be placed randomly between 3 places I have chosen not using radius and i would like also that the guys be in the same position I choosed for them. Is there a way to do that without using getpos and setpos commands ? thanks
-
No.
For the base I suppose you could create duplicates at all possible locations and then delete the ones you didn't need.
-
That's the first idea that came to my mind but it is possible that when players choose slot they will not be able to play beause the units are deleted. After this someone told me I can use markers and I couldn't make all squads appear in the same place because I have chosen 3 possible places for bases. So I would like to know if there is a way to do these random bases, does a script already exist for that ? Thanks.