11-19-2010, 09:15 PM
11-19-2010, 09:47 PM
There is a function for the Player Spawn, but I don't think it's useful here.
Is it a certain, triggered death or just a 'regular' one? You could work with a function that triggers that once the player's health reaches 0, but you need to work with variables there..
Maybe Frictional has some documentation on it in their .hps files, as they change monster spawns and the like once you die..
Maybe a CollideArea at the place where the player spawns?
Is it a certain, triggered death or just a 'regular' one? You could work with a function that triggers that once the player's health reaches 0, but you need to work with variables there..
Maybe Frictional has some documentation on it in their .hps files, as they change monster spawns and the like once you die..
Maybe a CollideArea at the place where the player spawns?
11-20-2010, 06:48 PM
This is what you need:
CheckPoint(string& asName,string& asStartPos ,string& asCallback, string &asDeathHintCat, string &asDeathHintEntry);
string& asName: Name you want to give this checkpoint. (Doesn't really matter)
string& asStartPos: Where the player spawns after death. (Use Playerstarts for spawns. You can use more than one playerstart in a level)
string& asCallback: What should happen when you die. (This is what you need)
string &asDeathHintCat: The category the death hint is in. (Found in extra_english.lang)
string&asDeathHintEntry: The name of the entry of the death hint (Found in extra_english.lang)
CheckPoint(string& asName,string& asStartPos ,string& asCallback, string &asDeathHintCat, string &asDeathHintEntry);
string& asName: Name you want to give this checkpoint. (Doesn't really matter)
string& asStartPos: Where the player spawns after death. (Use Playerstarts for spawns. You can use more than one playerstart in a level)
string& asCallback: What should happen when you die. (This is what you need)
string &asDeathHintCat: The category the death hint is in. (Found in extra_english.lang)
string&asDeathHintEntry: The name of the entry of the death hint (Found in extra_english.lang)
11-20-2010, 09:06 PM
Thanks guys, as soon as get some time I will look into it.