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
Start event when player spawns at a certain PlayerStartArea?
GreyFox Offline
Member

Posts: 162
Threads: 23
Joined: Jul 2011
Reputation: 2
#2
RE: Start event when player spawns at a certain PlayerStartArea?

Uhh could you use this (bolded part)

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

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

and then make the function Checkpoint_2/1 whatever
SetEntityActive("", true/false)
So On
So On

I'm not completely sure with checkpoints mainly because in my custom story I haven't added them but. I think that'd work.

-Grey Fox


Current Project
Forgotten
10-06-2011, 03:36 AM
Find


Messages In This Thread
RE: Start event when player spawns at a certain PlayerStartArea? - by GreyFox - 10-06-2011, 03:36 AM



Users browsing this thread: 1 Guest(s)