02-12-2014, 12:11 AM
02-12-2014, 01:15 AM
You could re-enable them in the CheckPoint callback.
02-12-2014, 09:59 AM
(02-12-2014, 12:11 AM)Yoshida Wrote: [ -> ]Hi I dont want the monsters to disappear after death any help?
This could be of use. Didn't look into it too much, I used a different method myself, but I'm unable to find it in the wiki.
02-12-2014, 06:29 PM
Put a script area in a point that you want player to respawn, and name the player start area as "Checkpoint", then use this script.
Keep in mind that it only happens on start, if you want to make it saving every time you enter the map simply change the Start to Enter to make it say "void OnEnter()"
PHP Code:
void OnStart()
{
CheckPoint("","Checkpoint","Reset","","");
}
void Reset(string &in asName, int alCount)
{
SetEntityActive("monster_name",true);
ResetProp("monster_name");
}
Keep in mind that it only happens on start, if you want to make it saving every time you enter the map simply change the Start to Enter to make it say "void OnEnter()"