OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: thesalmonator on 04 Feb 2009, 05:03:04
-
I have a almost satisfactory method for shifting a player from one unit to another (or at least appear to shift), involving the multiplayer group respawn option and adding a new unit to a player's group and then killing the player's original unit.
So, while this does switch me from being one unit into a different unit, it shows the player switching and has the radio message play something along the lines of "Oh no... 1 is down" "This is 2, taking command" as the player switches to the new unit.
Now my question is, is there a way I can temporarily fade the screen to black so the player doesn't see this transition, and is there a way I can mute the radio so they don't hear how this illusion works?
-
Welcome to OFPEC :cool2:
Try looking up the following commands in the Comref here on OFPEC:
cutText (http://ofpec.com/COMREF/index.php?action=details&id=95)
enableRadio (http://ofpec.com/COMREF/index.php?action=details&id=121)
These should get you on the way to what you want.
Planck