OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: sharkattack on 30 Nov 2007, 19:47:18

Title: switchplayer
Post by: sharkattack on 30 Nov 2007, 19:47:18
hi guys
would it be possible to simulate stealing enemy uniforms using switchplayer  and a cutscene to hide transition  in mp play ...  ???
Title: Re: switchplayer
Post by: Terox on 30 Nov 2007, 22:40:14
dont know about switchplayer, but what you could do if respawn group is on, is

1) save players group
2) have player join grpnull
3) createunit in uniform you want
4) createunit join group player
5) setdammage 1 to player
6) when player is alive again, have player rejoin his initial group

and hide the change in a cutscene

I believe there are issues with switch player, but not exaclty sure what these are