Frictional Games Forum (read-only)
[SCRIPT] Monster Servent_brute_1 dont work - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Monster Servent_brute_1 dont work (/thread-12409.html)



Monster Servent_brute_1 dont work - jessehmusic - 01-06-2012

hello i cant get my brute to work here is script

PHP Code:
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);
} 



RE: Monster Servent_brute_1 dont work - SilentStriker - 01-06-2012

What is not working? Doesn't it show up or is it acting weird or what's the problem?



RE: Monster Servent_brute_1 dont work - jessehmusic - 01-06-2012

the problem is that it wont work it wont apper and show up nothing happend btw add mine skype woud be great Smile wowhasse1


RE: Monster Servent_brute_1 dont work - SilentStriker - 01-06-2012

(01-06-2012, 11:16 PM)jessehmusic Wrote: the problem is that it wont work it wont apper and show up nothing happend btw add mine skype woud be great Smile wowhasse1
Ok jag hjälper dig Wink