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
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#12
RE: Script help

PHP Code: (Select All)
//The code below was entered by me :P You dont need to copy this line, nor the next.
//Any errors I could find have a comment next to them :)

void OnEnter()
{
AddEntityCallback("Player""livingkey""monsterspawn"true1);
PlayMusic("amb_soft_mood.ogg"true10.1f0true);        //missing .ogg extension
AutoSave();
}

void monsterspawn(string &in asParentstring &in asChildint alState)   //missing callback parameters
{
SetEntityActive("tehmonster",true);
AddEnemyPatrolNode("tehmonster","PathnodeArea8",2,"");
AddEnemyPatrolNode("tehmonster","PathnodeArea11",6,"");
AutoSave();                            //missing brackets


Try that :3

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 12-13-2013, 03:13 PM by Romulator.)
12-13-2013, 03:09 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: 2 Guest(s)