06-29-2012, 03:56 PM
I read this:
void CheckPoint (string& asName, string& asStartPos, string& asCallback, string& asDeathHintCat, string& asDeathHintEntry);
Sets a checkpoint at which the player will respawn in case he dies.
Callback syntax: void MyFunc(string &in asName, int alCount)
Count is 0 on the first checkpoint load!
asName - the internal name
asStartPos - the name of the StartPos in the editor
asCallback - the function to call when the player dies/respawns
asDeathHintCat - the category of the death hint message to be used in the .lang file
asDeathHintEntry - the entry in the .lang file
What is the internal name? What does that mean?
What do I put into the function to call when the player dies/respawns?
??????????
So I make a
AddEntityCollideCallback
Then when the player colides with the StartPos_2
Then?????? I dunno I need better explaining on this.
Thank You.
void CheckPoint (string& asName, string& asStartPos, string& asCallback, string& asDeathHintCat, string& asDeathHintEntry);
Sets a checkpoint at which the player will respawn in case he dies.
Callback syntax: void MyFunc(string &in asName, int alCount)
Count is 0 on the first checkpoint load!
asName - the internal name
asStartPos - the name of the StartPos in the editor
asCallback - the function to call when the player dies/respawns
asDeathHintCat - the category of the death hint message to be used in the .lang file
asDeathHintEntry - the entry in the .lang file
What is the internal name? What does that mean?
What do I put into the function to call when the player dies/respawns?
??????????
So I make a
AddEntityCollideCallback
Then when the player colides with the StartPos_2
Then?????? I dunno I need better explaining on this.
Thank You.