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
Level Editor Help FATAL ERROR plz help
zombiehacker595 Offline
Member

Posts: 141
Threads: 51
Joined: Mar 2012
Reputation: 3
#1
FATAL ERROR plz help

help my amnesia custom story scripting is not working
this is my script so far
void OnStart()
{
SetEntityPlayerInteractCallback("key_study_1", "ActivateMonster", true);
}
void OnEnter()
{
}
void OnLeave()
{
}
void ActivateMonster(string &in item)
{
SetentityActive("servant_grunt_1", true);
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1". 0, "Idle");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_2". 0, "Idle");
}
and i get this message
FATAL ERROR could not load script file
custom_stories/test/maps/intro.hps
main 19,60 : ERR: expected identifier
main 20,60 : ERR: expected indentifier
how can i fix this i did it before and it worked than i added level doors or something now its fucked little help plz Smile?
03-28-2012, 03:26 PM
Find


Messages In This Thread
FATAL ERROR plz help - by zombiehacker595 - 03-28-2012, 03:26 PM
RE: FATAL ERROR plz help - by Robby - 03-28-2012, 03:40 PM
RE: FATAL ERROR plz help - by zombiehacker595 - 03-29-2012, 06:40 AM



Users browsing this thread: 1 Guest(s)