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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
playing music while reading note?
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: playing music while reading note?

Make a callback for the note (in the entity tab, there should be something like CallbackFunc in it). There, put the callback type (preferabily OnPickup) and then add this somewhere in your .hps, but NOT in void OnStart(), OnEnter and OnLeave.

void OnPickup (string &in asEntity, string &in asType)
{
//Your music
}

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
02-27-2013, 10:02 PM
Find


Messages In This Thread
playing music while reading note? - by User01 - 02-27-2013, 02:20 AM
RE: playing music while reading note? - by The chaser - 02-27-2013, 10:02 PM
RE: playing music while reading note? - by User01 - 02-27-2013, 10:52 PM
RE: playing music while reading note? - by NaxEla - 02-28-2013, 12:38 AM
RE: playing music while reading note? - by User01 - 02-28-2013, 02:28 AM
RE: playing music while reading note? - by NaxEla - 02-28-2013, 02:44 AM
RE: playing music while reading note? - by User01 - 02-28-2013, 02:47 AM



Users browsing this thread: 5 Guest(s)