OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: abomb1508 on 05 Dec 2002, 02:25:36
-
i have placed a bunch of Americans at varying defensive positions in a building in Petrovice. then i have placed 4 russian squads about 500m away. the russians run in in combat mode, the americans have a turkey shoot. just what i wanted. but i have two problems...
1.some soldiers that are behind walls lie down, stick their gun through the wall and shoot. this looks stupid and is unfair. is there a switchmove command that can force the soldiers to stay on their feet? i would also like a command to force some of the soldiers to lie down.
2. the soldiers at the moment are not linked together, but i have linked them in a squad, with no adverse effects, and improved performance. but after 30 seconds of combat, a few troops decide to move around, and thus lose their excellent firing positions. is ther a way to force the troops to stay in exactly one place?
i will place the attachment here. please feel free to do what you wish with this file, but give credit if it is used in a mission. all ideas and help accepted.
Cheers,
A-Bomb
-
HERE U COULD DO THIS
PUT THIS in the soldiers init
this setunitspos "up"
that makes him stand up and not lay ever
-
and the other thing i know there is but cant think of it
-
cheers man.
and can you replace "up" with "down" and force them to lie down?
-
yea
-
unitname stop true
:)
Gameer
-
stop command wil prevent da unit from shoting :o - so i sugest u use
dostop unitname
LCD OUT