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
Script Help New Checkpoint problem second Checkpoint
Steve Offline
Member

Posts: 178
Threads: 17
Joined: Jun 2012
Reputation: 7
#11
RE: How do you make Check points?(still help needed)

(06-28-2012, 03:29 PM)FastHunteR Wrote: I tried it out and this one should work:
place a script area for when you should make a checkpoint, and place a PlayerStartArea where you want to spawn after you died.
.hps file:
PHP Code: (Select All)
void OnStart()
{
AddEntityCollideCallback("Player""ScriptAreaNameHere""CheckpointMaker"true1);
}
void CheckpointMaker(string &in asParentstring &in asChildint alState)
{
 
CheckPoint ("""PlayerStartAreaNameHere""""CategoryNameHere""EntrynameHere");

.lang file:
<LANGUAGE>
<CATEGORY Name="CategoryNameHere">
<Entry Name="EntryNameHere">DeathMessageHere</Entry>
</CATEGORY>
</LANGUAGE>

Replace all "...NameHere" with the ones you used in the level editor/want to use.
This sounds stupid but it workedthanks but now I made a second one Adn when I die I do get the other message but I don't get at the second respwan point any ideas?
06-28-2012, 09:08 PM
Find


Messages In This Thread
RE: How do you make Check points? - by Adny - 06-27-2012, 10:17 PM
RE: How do you make Check points? - by Steve - 06-28-2012, 07:21 AM
RE: How do you make Check points? - by Steve - 06-28-2012, 02:33 PM
RE: How do you make Check points? - by Cruzore - 06-28-2012, 02:46 PM
RE: How do you make Check points? - by Steve - 06-28-2012, 03:00 PM
RE: How do you make Check points?(still help needed) - by Steve - 06-28-2012, 09:08 PM



Users browsing this thread: 1 Guest(s)