The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 from areas (CS Amnesia)
Zahashi Offline
Junior Member

Posts: 1
Threads: 2
Joined: Apr 2014
Reputation: 0
#1
CheckPoint from areas (CS Amnesia)

void OnEnter()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "Restart", true, 1);
AddEntityCollideCallback("Player","MonsterArea","Apparition", true, 1);
AddEntityCollideCallback("Player","WeirdArea","Bizarre", true, 1);
AddEntityCollideCallback("Player","MinceArea","Mince", true, 1);
AddUseItemCallback("","Key","Prison_Door", "Key_On", true);
AddTimer("TimerName", 0, "Apparition");
}

void Restart(string &in asParent, string &in asChild, int alState)
{
CheckPoint("", "PlayerStartArea_4","DeathCategory", "Deathtext");
}

Please Help, i followed this tutorial : http://wiki.frictionalgames.com/hpl2/tut...riptarea_s

But it doesn't work and error =" ERR ; No matching signatures to 'CheckPoint(string@&,string@&,string@&,string@&)' "

(I'm french so i don't understand everytime)
04-13-2014, 05:37 PM
Find


Messages In This Thread
CheckPoint from areas (CS Amnesia) - by Zahashi - 04-13-2014, 05:37 PM



Users browsing this thread: 1 Guest(s)