OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Kaiser_5SM on 02 May 2003, 20:15:28
-
Hello:
I have a group (named squad) on a mp mission. On start (init.sqs) I do
"_x setpos getpos container1" foreach units squad
where container1 is a closed container (they must open with a unlock gate script i'm doing)
The only problem is formation. Squad put on formation and some soldiers stays out of container.
How can I do all my soldiers stays there without put on formation?
Thanks in advance.
-
set the "SPECIAL" field of each unit to "NONE" :thumbsup:
This will make sure that they do NOT start in formation. Just be aware of the fact that as soon as the mission begins, they will TRY and get outta the box, moving back in formation; this is why ya also need to type:
Dostop This
in the INIT field of each moron. That will freeze the gang! ;)
-
Tomb is right, but instead of putting the <doStop> command in for each unit you could just give the lead guy a "move" or a "talk" waypoint on top o him which sets the Formation type as "no change"... This should have the same effect and be quicker... Especially, if you have a lot of these containers with guys in and the squads are BIG
They might still move around a little, so it all depends on how big the container is... If you want no movement then go with Tomb, but if you can handle a bit of movement then this way might be an idea... :)