Frictional Games Forum (read-only)

Full Version: someone should post a tutorial video
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
of how the hell to correctly attach audio to notes and diaries. i would love you forever if you did it because i can't do it no matter what i try.
+1

I would like such a vid too.
same here....

+1
Agree. :p

+1
+10000 me to Big Grin
Uhm, can't you:
void OnStart()
{
SetEntityPlayerInteractCallback("note_generic_1", SoundNote1, true);
}

void SoundNote1(string &in entity)
{
PlaySoundAtEntity("TextRead", "Text_1.ogg", "Player", 0.5f, false);
AddTimer("NoteEndGeneralT", 0.5f, "NoteEndTimer");
}

void NoteEndTimer(string& asName, float afTime, string& asFunction);
{
StopSound("TextRead", 2.0f);
}

Or is there a specific thing in the entity tab of a note?
I've made a video and will post it shortly.
Here is the link, I hope it helps.
http://www.youtube.com/watch?v=EnCAbgTY6d8
(05-22-2011, 09:04 PM)triadtimes Wrote: [ -> ]I've made a video and will post it shortly.
Here is the link, I hope it helps.
http://www.youtube.com/watch?v=EnCAbgTY6d8

thanks for the post, but unfortunately it still refuses to work and I have no idea why... i've set everything up perfectly... when i pick up the diary nothing happens at all. I have to push N to read the text... why? why does it do this when i've set it up exactly like everyone elses .lang files?
I'll try it. Thanks. Smile
Yeah, I would also like a video, thanks!! Smile
Pages: 1 2