OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Captain_Makin on 23 Mar 2003, 11:45:25
-
Thanks for the advice - was really helpful ;D! Wat I want to do is have A Russian occupied village with troops walking around, and the odd veichle driving around. Then an officer starts walking down a side road and is suddenly shot by a sniper and then marines flood the area, I aint got a problem with the camera. The problem is, how do you get troops to move within your cutscene, I used waypoints, but they apprently are only activated when you start the mission. Also I need help with the trigger so the sniperonly shoots the officer.
Cheers Again
Cpt.
-
You mean the soldiers move to the waypoints straight away. If you do just make a waypoint next to the soldiers and change the condition to anything. In tyour script tpye: yourCondition = true. They will start moving then.
-
To make the sniper shoot the officer Type this doFire officername, in the snipers init. field. I'm not shure how to force him to not fire at the other ruskies,but try to make a waypoint ontop of the sniper with the parameters: CombatMode: Hold fire, engage at will. Behaviour: Combat.
To make the Americans attack when the officers dead make a wery large trigger(that covers the officers and at least some of the other ruskies movementpath) parameters should be: Activation: East=Present, just to be safe. Then type NOT ALIVE officername, in the triggers condition field., then synchronise the USsoldiers waypoint with the trigger.
Hope this helps ;)... (And works :P ;D...)
~:BIZON:~OUT :-X***