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
phonograph music
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#2
RE: phonograph music

void OnStart()
{
SetEntityConnectionStateChangeCallback("EntityName", "DesiredCallback");
}
void DesiredCallback(string &in asEntity, int alState)
{
if(alState == 1)
{
PlayMusic(Insert arguments here, because I don't know what you want.)
SetEntityInteractionDisabled(asEntity, true);
}
}

http://wiki.frictionalgames.com/hpl2/amn..._functions for script reference.

06-26-2012, 11:46 PM
Find


Messages In This Thread
phonograph music - by nathanmcb - 06-26-2012, 11:37 PM
RE: phonograph music - by Obliviator27 - 06-26-2012, 11:46 PM
RE: phonograph music - by nathanmcb - 06-27-2012, 12:07 AM
RE: phonograph music - by Obliviator27 - 06-27-2012, 01:18 AM
RE: phonograph music - by nathanmcb - 06-28-2012, 12:14 AM
RE: phonograph music - by Streetboat - 06-28-2012, 06:29 PM
RE: phonograph music - by nathanmcb - 06-28-2012, 06:37 PM
RE: phonograph music - by Streetboat - 06-28-2012, 07:38 PM



Users browsing this thread: 1 Guest(s)