Frictional Games Forum (read-only)
Help script not working. - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Help script not working. (/thread-7096.html)

Pages: 1 2


RE: Help script not working. - Pandemoneus - 03-30-2011

[Image: facepalm.jpg]

Sorry, but had to do it.


RE: Help script not working. - slamer80 - 03-31-2011

I still don't understand... they have different names?


RE: Help script not working. - MrBigzy - 04-01-2011

This is how it works; the AddEntityCollideCallback makes it so when you collide with an entity (usually an area), something happens. What happens depends on what function you give to the AddEntityCollideCallback. You gave it MonsterFunc1. Whatever you have inside MonsterFunc1 will happen, but you have it so both brutes activate for that function. You need to make a MonsterFunc2 and move one of the brutes to that function.


RE: Help script not working. - slamer80 - 04-01-2011

Can you show my a script how to do that? As you can see there's Monsterfunc1 and monsterfunc2.


When i pasted your script above mine, the brute 1 didn't spawn, when i then added it next to the "activate brute 2" it spawned.


RE: Help script not working. - MrBigzy - 04-01-2011

That's because in the original you put brute_2 and brute_3, and then later it seemed like it was supposed to be 1 and 2. Use the original script but use servant_brute_1 and servant_brute_2.