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
Overwriting/Replacing A Checkpoint's Function?
SonOfLiberty796 Offline
Senior Member

Posts: 371
Threads: 39
Joined: Aug 2011
Reputation: 2
#5
RE: Overwriting/Replacing A Checkpoint's Function?

(01-01-2012, 12:20 AM)Your Computer Wrote:
(01-01-2012, 12:06 AM)Xvideogamer720X Wrote: The ""s are the Name of the Checkpoint and the StartPos, which I don't need so I didn't fill it out.

You say you don't need it, but how is the game going to figure out what to overwrite and where to position the player? Give both of them the same name and provide the location for the player for the good ending.
Did that:
CheckPoint("CheckPoint", "PlayerStartArea_1", "BadEndingCredits", "DeathHints", "BadEndingDeathHint");


CheckPoint("CheckPoint", "PlayerStartArea_1", "TestFunction", "DeathHints", "GoodEnding");


And still, the first checkpoint's function is being loaded.
01-01-2012, 12:26 AM
Find


Messages In This Thread
RE: Overwriting/Replacing A Checkpoint's Function? - by SonOfLiberty796 - 01-01-2012, 12:26 AM



Users browsing this thread: 1 Guest(s)