add my code at the very end of switchmodel.sqf. This way even if you change cloth the eventhandler is always added back
Ok, so I added
Code:
player addEventHandler ["killed", {
[nil, nil, rHINT, "Dude, I died!"] call RE;
}];
to the end of my player_switchModel.sqf and the kill messages work, until someone changes clothes. So I then tried
Code:
//BackUp Player Object
_oldUnit = player;
player addEventHandler ["killed", {
[nil, nil, rHINT, "Dude, I died!"] call RE;
}];
/***********************************/
//DONT USE player AFTER THIS POINT
/***********************************/
//Create New Character
Edit; as this is set to use rHINT will my debug monitor be in the way of the message?