Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reset Triggers Upon Death?
Author Message
Mackiiboy Offline
Member

Posts: 101
Joined: Jan 2012
Reputation: 11
Post: #4
RE: Reset Triggers Upon Death?
(04-07-2012 09:45 PM)W10607059 Wrote:  What do you mean create a check point? How do i do that?
.
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 <-In this function, ya'll put in all the triggers that should be reset after your death
asDeathHintCat - the category of the death hint message to be used in the .lang file
asDeathHintEntry - the entry in the .lang file
04-07-2012 10:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Reset Triggers Upon Death? - W10607059 - 04-07-2012, 01:50 AM
RE: Reset Triggers Upon Death? - Statyk - 04-07-2012, 02:01 AM
RE: Reset Triggers Upon Death? - W10607059 - 04-07-2012, 09:45 PM
RE: Reset Triggers Upon Death? - Mackiiboy - 04-07-2012 10:24 PM
RE: Reset Triggers Upon Death? - W10607059 - 04-07-2012, 11:05 PM
RE: Reset Triggers Upon Death? - Mackiiboy - 04-07-2012, 11:34 PM
RE: Reset Triggers Upon Death? - W10607059 - 04-07-2012, 11:47 PM
RE: Reset Triggers Upon Death? - Mackiiboy - 04-08-2012, 12:01 AM
RE: Reset Triggers Upon Death? - W10607059 - 04-08-2012, 03:39 AM
RE: Reset Triggers Upon Death? - JetlinerX - 04-08-2012, 08:50 PM
RE: Reset Triggers Upon Death? - W10607059 - 04-08-2012, 10:50 PM
RE: Reset Triggers Upon Death? - Mackiiboy - 04-09-2012, 12:08 AM
RE: Reset Triggers Upon Death? - W10607059 - 04-09-2012, 06:12 PM



User(s) browsing this thread: 1 Guest(s)