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
Respawn in a cell.
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#2
RE: Respawn in a cell.

void CheckPoint (string& asName, string& asStartPos, string& asCallback, string& asDeathHintCat, string& asDeathHintEntry);



string &in asName - leave this one empty, but include 2 quotation marks, like ""
string &in asStartPos - The start area to go to ("StartArea_1")
string &in asCallback - leave this empty unless you want something else (will clarify if you have something else in mind here)
string &in asDeathHintCat
string &in asDeathHintEntry -Leave these 2 empty, unless you want to give the player a hint.

Like this:
void CheckPoint("", "StartArea_1", "', "", "");

This has to be called in a script area, some time before the event itself (which, in turn, kills the player). If you call it after the player dies, it won't work.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(This post was last modified: 10-23-2012, 06:28 PM by Robby.)
10-23-2012, 06:14 PM
Website Find


Messages In This Thread
Respawn in a cell. - by 4WalledKid - 10-23-2012, 06:09 PM
RE: Respawn in a cell. - by Robby - 10-23-2012, 06:14 PM
RE: Respawn in a cell. - by 4WalledKid - 10-23-2012, 06:16 PM
RE: Respawn in a cell. - by Robby - 10-23-2012, 06:27 PM
RE: Respawn in a cell. - by The chaser - 10-23-2012, 06:30 PM
RE: Respawn in a cell. - by 4WalledKid - 10-23-2012, 06:45 PM



Users browsing this thread: 1 Guest(s)