OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Lazy Lays on 25 Mar 2005, 14:27:03
-
Question 1:
Okay I am making a mission where an Us-Airfield is under attack by the Russians..
I want the Russians to keep comming so the best way to do this is by reviving them... I want them to respawn near an object and not where they died.
I used the createcommand so far but it seems to lag a lot..
so I am looking for another way.
Question 2: :)
Mission Editor:
when you place 4 units close together they will group and start in formation.
If you for each unit set special to None they will not start in formation but when you start the mission they will go in formation.. is there a way to make the soldier ignore the fall back in formation command given by the groupleader ?
I have tryed to place a soldier and in the inti: soldierOne stop true;
but he wont aim and fire at enemy soldiers
I want the soldier to fire, aim and move when order to
-
answer 1:
have all the enemies you intend to keep coming in waves placed further away, and then waypoint them into the action when required. otherwise, there's no other way apart from the createunit command you mentioned.
answer 2:
in the init field, put dostop this. the units will stop, but may get into formation after a short while, depending on what their commanding officer does. alternatively, if you want them to stay still indefinitely, use this disableAI "move". that means the units will not move, but will still engage enemies.
hope that helps :)
-
Okay I have problems with the disableAI move command.. the AI i used the command on is aiming at the enemy but they doesn't fire at them.. >:(
The dostop is useless cause if the leader dies they move.. I just want the AI to stand there ground and fire at the enemy !..
Please help me !..
-
I think somebody did a script for this. Genera Barron?
-
Hows about dis http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=18098 scroll down page and you'll find both ai cover and hold, and a fixedpos script with custum animations.
Or this
http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=11904