The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stick a knife in Martin?
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#1
Stick a knife in Martin?

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.

Special Custom Story for 2 special people!

[Image: LWFcAl]


(This post was last modified: 06-29-2012, 04:21 PM by Jagsrs28.)
06-29-2012, 03:56 PM
Find


Messages In This Thread
Stick a knife in Martin? - by Jagsrs28 - 06-29-2012, 03:56 PM
RE: Stick a knife in Martin? - by ApeCake - 06-29-2012, 10:07 PM



Users browsing this thread: 1 Guest(s)