(06-29-2012, 07:22 PM)FastHunteR Wrote: Might just refer you to http://www.frictionalgames.com/forum/thr...age-2.html
i tried it but i cant seem to get it to work. Here it is:
void OnEnter()
{
AddEntityCollideCallback("Player", "ActivateSpawn_1", "Respawn_1", true, 1);
}
void Respawn_1(string &in asParent, string &in asChild, int alState)
{
CheckPoint("","PlayerRespawnArea_1" ,"TryAgainOne", "DeathHints", "DeathHint1");
}
void TryAgainOne(string &in asParent, string &in asChild, int alState)
{
CreateEntityAtArea("hallway_grunt", "", "monster_area1", false);
}
And if i get the monster to work, is there a way to get a script area to spawn again?