Hey guys.
I've recently attempted making a mission where a unit changing it's model is needed. For example, A civilian4 model changing to a civilian19 model, dynamically. In this case, SetIdentity wouldn't work.
The only way I could do this, is by this small script.
_oldplayer = player;
_newguy = group player createUnit ["Civilian5", getpos player, [], 0, "FORM"];
addSwitchableUnit _newguy;
selectPlayer _newguy;
deletevehicle _oldplayer;
Now this script works fine, but he retains his AI face,AI name and AI XML. If I were to type in globalchat, it would read something like "Alfanso Benzina: Blahblah" instead of "Kevb0: BlooBloo"
I've tried camcreate, createvehicle, createvehiclelocal, and all of that jazz. Nothing seems to work.
Can anyone think of anything to help me out?
Thanks in advance.