Frictional Games Forum (read-only)
[SCRIPT] Something wrong ? - 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] Something wrong ? (/thread-24889.html)

Pages: 1 2


RE: Something wrong ? - Straxedix - 03-21-2014

I fix it Smile

here is .hps if somebody is guest and wan't this script Smile

SetEntityPlayerInteractCallback("Tomby1", "ActivateMonster", true);


void ActivateMonster(string &in asEntity)
{
SetEntityActive("Alexander1", true);
AddEnemyPatrolNode("Alexander1", "PathNodeArea_1", 0, "idle");
AddEnemyPatrolNode("Alexander1", "PathNodeArea_2", 0, "idle");
AddEnemyPatrolNode("Alexander1", "PathNodeArea_3", 0, "idle");
}



Hope it helps Smile


RE: Something wrong ? - davide32 - 03-21-2014

It's an example if the player pickup the key, the monster will be active


RE: Something wrong ? - davide32 - 03-22-2014

It's an example if the player pickup the key, the monster will be active


RE: Something wrong ? - Romulator - 03-22-2014

Yes it is. No need to double post.


RE: Something wrong ? - Straxedix - 03-22-2014

(03-22-2014, 08:43 AM)Romulator Wrote: Yes it is. No need to double post.

BEST. ANSWER. EVER! Tongue