OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Aldo15 on 08 Dec 2010, 03:36:23
-
How do I make a soldier of the west side after a mission accomplished, or when a trigger is activated to change into the uniform of this, but that does not change sides.? ???
-
This isn't possible during the mission, but you can do it right at the beginning of the mission. Try searching the forums, I'm sure it's been answered a hundred times before.
Changing uniform in the middle of the mission would require a custom addOn, which allows to change uniforms with setObjectTexture command, but by pure mission editing means it won't be possible.
-
Anyway thank you
Do you know how to have the camera pursues a target and is not
static?
-
I think camera pursues a target by it self...
-
You can use the effects tab of a trigger which will provide you with options for this or you can script it into your cinema script by using CamSetTarget (http://www.ofpec.com/COMREF/index.php?action=details&id=53&game=All) and CamSetRelPos (http://www.ofpec.com/COMREF/index.php?action=details&id=52&game=All).
-
Changing a side mid-mission may be possible by using "join" to a one-man squad of the desired side, then immediately deletevehicle the squad leader.