OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Aldo15 on 08 Dec 2010, 03:36:23

Title: Sides
Post 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.? ???
Title: Re: Sides
Post by: Rellikki on 08 Dec 2010, 07:37:37
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.
Title: Re: Sides
Post by: Aldo15 on 08 Dec 2010, 23:36:57
Anyway thank you

Do you know how to have the camera pursues a target and is not
static?
Title: Re: Sides
Post by: Rytuklis on 28 Dec 2010, 15:22:25
I think camera pursues a target by it self...
Title: Re: Sides
Post by: savedbygrace on 28 Dec 2010, 19:18:33
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).
Title: Re: Sides
Post by: Lone~Wolf on 29 Dec 2010, 19:54:54
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.