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 Monster Servent_brute_1 dont work
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#1
Monster Servent_brute_1 dont work

hello i cant get my brute to work here is script

PHP Code: (Select All)
void OnStart(){AddEntityCollideCallback("Player", "Monter_Spawn", "MonsterFunction", true, 1);
AddEntityCollideCallback("servant_brute_1", "Monster_Remove", "RemoveMonster", true, 1);
}
void MonsterFunction(string &in asParent, string &in asChild, int alState)
{
    
SetEntityActive("servant_brute_1", true);
    
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_1", 2, "");
    
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_2", 0, "");
    
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_3", 0, "");
}

void RemoveMonster(string &in asParent, string &in asChild, int alState)
{
    
SetEntityActive("servant_brute_1", false);
} 

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
01-06-2012, 11:00 PM
Website Find


Messages In This Thread
Monster Servent_brute_1 dont work - by jessehmusic - 01-06-2012, 11:00 PM



Users browsing this thread: 1 Guest(s)