Frictional Games Forum (read-only)
need some 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: need some help (/thread-5595.html)



need some help - NorK - 12-01-2010

how do i play music when i pick up and item....like on Penumbra overture when you pick up the death mine note in the start of the game?Confused

thxBig Grin


RE: need some help - Chilton - 12-02-2010

I wont script it myself right now, but you need a looping timer, that keeps timing 1 second, until you have the note in your inventory, at which point it would enable the play music function
The reason i wont script this now is that im a bit too tired to be pseudoscripting

That is how you could do it though


RE: need some help - NorK - 12-02-2010

(12-02-2010, 03:48 AM)Chilton Wrote: I wont script it myself right now, but you need a looping timer, that keeps timing 1 second, until you have the note in your inventory, at which point it would enable the play music function
The reason i wont script this now is that im a bit too tired to be pseudoscripting

That is how you could do it though
thx. im gona try it

there was another thing i forgot to ask....how do i load another map...like when you enter to dirrerent maps in the game. level doors?


RE: need some help - Akumasama - 12-02-2010

http://wiki.frictionalgames.com/hpl2/amnesia/script_functions

Search for Map on that page.
You can find all the functions that exist for Amnesia on that page.