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
Checkpoint troubles
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#4
RE: Checkpoint troubles

Put a script area in a point that you want player to respawn, and name the player start area as "Checkpoint", then use this script.

PHP Code: (Select All)
void OnStart()

{
CheckPoint("","Checkpoint","Reset","","");
}

void Reset(string &in asNameint alCount)
{
SetEntityActive("monster_name",true);
ResetProp("monster_name");


Keep in mind that it only happens on start, if you want to make it saving every time you enter the map simply change the Start to Enter to make it say "void OnEnter()"
02-12-2014, 06:29 PM
Find


Messages In This Thread
Checkpoint troubles - by Yoshida - 02-12-2014, 12:11 AM
RE: Checkpoint troubles - by Mudbill - 02-12-2014, 01:15 AM
RE: Checkpoint troubles - by GrAVit - 02-12-2014, 09:59 AM
RE: Checkpoint troubles - by Slanderous - 02-12-2014, 06:29 PM



Users browsing this thread: 3 Guest(s)