Frictional Games Forum (read-only)
Scripting, need urgent help! - 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: Scripting, need urgent help! (/thread-9259.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13


RE: Scripting, need urgent help! - MrCookieh - 07-21-2011

Just put a pathnode in front of the door, and behind it. If it's closed, he will break it up, otherwise
he will just go through.


RE: Scripting, need urgent help! - JenniferOrange - 07-21-2011

Triggering a monster when picking up an entity tutorial: http://wiki.frictionalgames.com/hpl2/tutorials/scripting/triggering_monsters_on_entities
Created by me. Big Grin


RE: Scripting, need urgent help! - JetlinerX - 07-23-2011

Oh... mai... GODDDDD!!! You sir, are amazing.

Any chance of getting some information on how to get that key through a level transfer to unlock a door in the next map? Or is that too much to ask?

Still bro, I love you. Heart


RE: Scripting, need urgent help! - JenniferOrange - 07-23-2011

Let me go make a map and test that out for you. Smile
I'm confused as to which one of us is amazing.. me or MrCookieh.. because you said sir and I am not a sir. Wink


RE: Scripting, need urgent help! - JetlinerX - 07-23-2011

Correction: Ma'am.

That means I really CAN love you! Big Grin XD

I am having a new problem now... I pick up the key, and he does not beat down the door, nor does the key work on the door that I need it to. For some reason, I dont know why I totally failed my code, I was doing so well before.

PREVIOUS ERROR FIXED: I forgot the last "}"


RE: Scripting, need urgent help! - MrCookieh - 07-23-2011

please post your code.
there is an error in line 23. (seems like you've forgot an ; )


RE: Scripting, need urgent help! - JenniferOrange - 07-23-2011

As MrCookieh said, we have to see your test_3.hps file! Smile


RE: Scripting, need urgent help! - JetlinerX - 07-23-2011

Edited the post with new error, fixed the other one.

Mr.Cookieh:

I will be lets playing your custom story in return for your help! Big Grin


RE: Scripting, need urgent help! - JenniferOrange - 07-23-2011

So you're saying he doesn't beat the door down when you pick the key up? Let me see your .hps file, and possibly a screenshot of your Level Editor showing where the monster is and everything.


RE: Scripting, need urgent help! - JetlinerX - 07-23-2011

Sure, KEEP IN MIND:

I am doing the scripting, a friend is doing the map... Not really the way I wanted it to be done, but I will do others that I do all by myself.

Code:
[Image: ddaaaw.png]

map:
[Image: awdawdawdawdawdawdawd.png]