Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
someone should post a tutorial video
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#6
RE: someone should post a tutorial video

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?

[Image: mZiYnxe.png]


05-22-2011, 06:06 PM
Find


Messages In This Thread
RE: someone should post a tutorial video - by Acies - 05-22-2011, 06:06 PM



Users browsing this thread: 1 Guest(s)