Frictional Games Forum (read-only)
Script help plz :) - 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: Script help plz :) (/thread-8446.html)



Script help plz :) - klacke - 06-04-2011

Hello, i need a little script help, im VERYNOOB! on this with the scripting and making custom story, but to the point. i got this "corpse" [Image: 4dea459311759_sadfasdf.JPG]

And when i walk trough a hallway i want "daniel" to look back at him and then he will dissapear and a brute will come as a hallucination. how would the script look like?

Sorry for my bad english but i think you will understand what i mean.


RE: Script help plz :) - ferryadams10 - 06-04-2011

Hey man.
Feel free to add me on msn or steam.
There I'll explain everything good to you.

Msn: ferry_hooligan@live.nl
Steam: ferryadams1

Ferry,


RE: Script help plz :) - xiphirx - 06-04-2011

Create an Area with type "Script" where the corpse is.
Create a brute where you want him, and tick the hallucination checkbox, and tick the "Active" checkbox so hes disabled.

In your script, use the StartPlayerLookAt function
then use the callback to activate the brute, and then ShowEnemyPlayerPosition to make him follow Daniel.


RE: Script help plz :) - klacke - 06-05-2011

(06-04-2011, 09:15 PM)ferryadams10 Wrote: Hey man.
Feel free to add me on msn or steam.
There I'll explain everything good to you.

Msn: ferry_hooligan@live.nl
Steam: ferryadams1

Ferry,

Added your steam Smile