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
Yoshida Offline
Junior Member

Posts: 3
Threads: 4
Joined: Feb 2014
Reputation: 0
#1
Checkpoint troubles

Hi I dont want the monsters to disappear after death any help?
02-12-2014, 12:11 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Checkpoint troubles

You could re-enable them in the CheckPoint callback.

02-12-2014, 01:15 AM
Find
GrAVit Offline
Senior Member

Posts: 580
Threads: 15
Joined: Oct 2011
Reputation: 22
#3
RE: Checkpoint troubles

(02-12-2014, 12:11 AM)Yoshida Wrote: Hi I dont want the monsters to disappear after death any help?

This could be of use. Didn't look into it too much, I used a different method myself, but I'm unable to find it in the wiki.

(This post was last modified: 02-12-2014, 10:02 AM by GrAVit.)
02-12-2014, 09:59 AM
Find
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




Users browsing this thread: 2 Guest(s)