A project I'm working on includes putting someone into disguise.(making them change skins) I can't seem to get it to change anything. I'm using a script like this....the light command is just so I know the trigger in the map activated, ignore it please....
disguise:
self waittill trigger
local.player=parm.other
if (local.player.isindisguise==1)
end
local.player.isindisguise=1
local.player light 0 1 0 50
local.player setcvar g_playermodel "german_waffenss_officer"
local.team = local.player.dmteam
while(local.player != NIL && isAlive local.player && local.player.dmteam == local.team)
waitframe
if(local.player != NIL)
local.player lightOff
local.player.isindisguise=0
end
If it's much harder then this...it's probably beyond my scripting skills.....
Any help or solution or pointing me in the right direction would be appreciated. If there is a mod like this one already I wouldn't mind either.
Thank You
Disguise
Moderator: Moderators
