Frictional Games Forum (read-only)
how to make floor break when u go to a certain area - 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: how to make floor break when u go to a certain area (/thread-25504.html)

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


RE: how to make floor break when u go to a certain area - victorkim890(KimmyChimmy) - 07-04-2014

any way to not mak the grunt disapear after hiding in a corner or being far away from it


RE: how to make floor break when u go to a certain area - victorkim890(KimmyChimmy) - 07-04-2014

how do u touch a locked door and it says it wont budge


RE: how to make floor break when u go to a certain area - Romulator - 07-04-2014

Follow this tutorial
https://wiki.frictionalgames.com/hpl2/tutorials/script/adding_messages_to_locked_doors


RE: how to make floor break when u go to a certain area - victorkim890(KimmyChimmy) - 07-04-2014

works

how to play music in a certain room and if u exit the room the music goes away. so each time u go into the room it plays the music


RE: how to make floor break when u go to a certain area - DnALANGE - 07-04-2014

Maybe change the THREAD-TITLE when you have any new questions??
Not angry just pointing out so we all see where we need to help.


RE: how to make floor break when u go to a certain area - victorkim890(KimmyChimmy) - 07-04-2014

o yea. im going to start doing tat now

how do u change the title. i dont think u can change it


RE: how to make floor break when u go to a certain area - PutraenusAlivius - 07-04-2014

(07-04-2014, 01:24 PM)victorkim890(KimmyChimmy) Wrote: how to play music in a certain room and if u exit the room the music goes away. so each time u go into the room it plays the music

Encase the room with a script area called RoomMusicArea.
Spoiler below!

PHP Code:
void OnStart()
{
AddEntityCollideCallback("Player""RoomMusicArea""MusicPlay"false0);
}

void MusicPlay(string &in asParentstring &in asChildint alState)
{
if (
alState == 1)
{
PlayMusic("MusicName.ogg"true10.1f2false);
}

else if (
alState == -1)
{
StopMusic(0.1f2);
}





RE: how to make floor break when u go to a certain area - Ashtoreth - 07-04-2014

(07-04-2014, 04:38 PM)victorkim890(KimmyChimmy) Wrote: how do u change the title. i dont think u can change it

Click and hold the thread title to edit it (when you're viewing the threads listing).

You can also go to your first post, click "Edit", then select "Full Edit", and change the thread subject from there.


RE: how to make floor break when u go to a certain area - Romulator - 07-04-2014

(07-04-2014, 02:09 PM)DnALANGE Wrote: Maybe change the THREAD-TITLE when you have any new questions??
Not angry just pointing out so we all see where we need to help.

It's not actually necessary. You just go right to the last page. It's not that difficult to find the problem, just try to offer support if you can Smile

At least it's not "Okay, this is solved, so I'll make another new thread with this problem" and do the same once that is solved :3


RE: how to make floor break when u go to a certain area - victorkim890(KimmyChimmy) - 07-04-2014

i might not change the title