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
Script help
Steelen Offline
Junior Member

Posts: 4
Threads: 2
Joined: Dec 2013
Reputation: 0
#1
Script help

The code:
void OnEnter()
{
AddEntityCallback("Player", "livingkey", "monsterspawn", true, 1);
PlayMusic("amb_soft_mood", true, 1, 0.1f, 0, true);
AutoSave();
}

void monsterspawn()
{
SetEntityActive("tehmonster",true);
AddEnemyPatrolNode("tehmonster","PathnodeArea8",2,"");
AddEnemyPatrolNode("tehmonster","PathnodeArea11",6,"");
AutoSave;
}

The error I get:
[Image: 1vGV8FM.png]
12-12-2013, 10:15 PM
Find


Messages In This Thread
Script help - by Steelen - 12-12-2013, 10:15 PM
RE: Script help - by daortir - 12-12-2013, 10:21 PM
RE: Script help - by Steelen - 12-12-2013, 11:44 PM
RE: Script help - by Daemian - 12-12-2013, 10:41 PM
RE: Script help - by daortir - 12-12-2013, 11:26 PM
RE: Script help - by Daemian - 12-12-2013, 11:56 PM
RE: Script help - by daortir - 12-13-2013, 12:02 AM
RE: Script help - by Steelen - 12-13-2013, 12:06 AM
RE: Script help - by daortir - 12-13-2013, 12:12 AM
RE: Script help - by Steelen - 12-13-2013, 08:48 AM
RE: Script help - by daortir - 12-13-2013, 01:11 PM
RE: Script help - by Romulator - 12-13-2013, 03:09 PM
RE: Script help - by ExpectedIdentifier - 12-15-2013, 05:50 AM
RE: Script help - by Neelke - 02-19-2014, 09:57 AM
RE: Script help - by davide32 - 02-23-2014, 10:33 PM
RE: Script help - by davide32 - 03-20-2014, 03:01 PM
RE: Script help - by PutraenusAlivius - 03-20-2014, 03:48 PM



Users browsing this thread: 1 Guest(s)