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
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#14
RE: Script help

void OnEnter()
{
AddEntityCollideCallback("Player", "livingkey", "monsterspawn", true, 1);
PlayMusic("amb_soft_mood.ogg", true, 1, 0.1f, 0, true);
AutoSave();
}

void monsterspawn(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("tehmonster",true);
AddEnemyPatrolNode("tehmonster","PathnodeArea8",2,"");
AddEnemyPatrolNode("tehmonster","PathnodeArea11",6,"");
AutoSave();                  
}

Exactly everyone forgot that there are no scripts as AddEntityCallback or AddEntityInteract. Well, that happens Tongue
02-19-2014, 09:57 AM
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: 3 Guest(s)