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
Kill Player
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#4
RE: Kill Player

Also make sure to use a Check point right away so that you can display the proper death message.

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

(This post was last modified: 10-19-2012, 04:43 AM by Damascus.)
10-19-2012, 04:43 AM
Find


Messages In This Thread
Kill Player - by IGabx - 10-19-2012, 04:02 AM
RE: Kill Player - by Acies - 10-19-2012, 04:06 AM
RE: Kill Player - by IGabx - 10-19-2012, 04:15 AM
RE: Kill Player - by Damascus - 10-19-2012, 04:43 AM
RE: Kill Player - by IGabx - 10-19-2012, 05:13 AM



Users browsing this thread: 1 Guest(s)