OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: HedgeHog on 15 Oct 2008, 23:15:53
-
Hi there folks! :D
I need to simulate the clothes changing, so I need to replace the player with another soldier (with different uniform).
Basically, I need to jump in another soldier's boots after the ending of an in-game cutscene I've already made.
So which lines should I use at the end of the camscript to make me get the control of the new character after the cutscene?
thx! :D :)
-
Well, you can do this with team-switching if you are the player, but to force it from a script, use selectPlayer (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=s#701).
-
I didn't imagine it was that* simple! :good:
Thank you a lot!
Bye! ;)