Editors Depot - Mission Editing and Scripting > OFP - Editing/Scripting General
Group splitting
SimonRussi:
Hi guys...
private again huh? :)
Ok, i have a 2 men group hanging around... they rendesvouz with a 12 men group and i want the two groups splitted and both of my two man start leading a group of total 7 men. I see how i can make it from scripting but my problems start when i want to have some Wp's for the 2 groups... i don't know how to create WP's for a group that actually doesn't exist yet.
Anybody can help? :)
T.S.C.Plage:
Ok, the first thing is done with the "Join GrpNull" command.
For the waypoints you can add some "invisble Hs" and tell your unit to "domove getpos".
Example:
leader1 join GrpNull
(soldier1 join leader1, soldier2 join leader1 ...)
leader1 domove getpos h1
? leader1 distance h1 < 1 : leader1 domove getpos h2
...and so on.
That's my way...
Greetz
Plage
Messiah:
well..... two solve the 2 waypoints problem -
make the 2 men who group up with you seperate and withy their own waypoint - then give them 6 men each :P
SimonRussi:
well TSC, thanks but i really need WP's since i have to create GETIN, GETOUT amd that sort of things...
To Messiah, you mean i have to create the whole mission with my group splitted up? i will not be able to give'em orders....
Messiah:
no, i'll tray and explain.
waypoints can only be set at the start of a mission - so to have 1 group become 2 with 2 new leaders from another group you have to have the 2 men who join and lead the new groups - they need their own waypoints and are not grouped togeather
thats way, when the 12 man group comes along, 6 go to man1, 6 go to man2 and they follow the waypoint you set for the 2 seperate men.
hope that helps.
Navigation
[0] Message Index
[#] Next page
Go to full version