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 Checkpoints and autosave help
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#3
RE: Checkpoints and autosave help

Ehem:

Fixed:

PHP Code: (Select All)
void OnStart()
{
AddEntityCollideCallback("Player""ScriptAreaMonsterRespawn""MonsterRespawn"true0);
}

void MonsterRespawn(string &in asParentstring &in asChildint alState)
{
SetEntityActive("EnemyInActive"true);
CheckPoint ("Checkpoint_1""PlayerStartArea_checkpoint""""DeathHintCategory""DeathHintEntry");  ///Put the PlayerStartArea_checkpoint right where the script area is.


Edit: Fixed.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 05-02-2013, 03:56 PM by The chaser.)
05-02-2013, 01:53 PM
Find


Messages In This Thread
Checkpoints and autosave help - by serbusfish - 05-02-2013, 12:50 PM
RE: Checkpoints and autosave help - by The chaser - 05-02-2013, 01:53 PM
RE: Checkpoints and autosave help - by serbusfish - 05-02-2013, 03:04 PM
RE: Checkpoints and autosave help - by serbusfish - 05-02-2013, 05:37 PM
RE: Checkpoints and autosave help - by The chaser - 05-03-2013, 01:18 PM



Users browsing this thread: 3 Guest(s)