Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keep enemies after death?
39Games Offline
Junior Member

Posts: 48
Threads: 14
Joined: Jan 2013
Reputation: 0
#3
RE: Keep enemies after death?

(03-07-2013, 02:37 PM)No Author Wrote: Use 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
Thanks, but I need a little more info, does the first code go in OnStart? do i need that setplayercallback code? where does what go?
Cheers.

03-07-2013, 02:53 PM
Find


Messages In This Thread
Keep enemies after death? - by 39Games - 03-07-2013, 02:32 PM
RE: Keep enemies after death? - by No Author - 03-07-2013, 02:37 PM
RE: Keep enemies after death? - by 39Games - 03-07-2013, 02:53 PM



Users browsing this thread: 1 Guest(s)