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
Bizarre Music Error
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#7
RE: Bizarre Music Error

You can make it so that when the player walks into a certain area, the music plays in the background.

PHP Code: (Select All)
void OnStart()
{
    
AddEntityCollideCallback("Player""hallking_area""HallKing"true1);
}

void HallKing(string &in parentstring &in childint state)
{
    
PlayMusic("hallking.ogg"true1.0f01true);


EDIT: The reason the hand shows up is because you probably have some text where it says PlayerInteractCallback in the area properties.

In Ruins [WIP]
(This post was last modified: 02-03-2013, 02:55 AM by NaxEla.)
02-03-2013, 02:54 AM
Find


Messages In This Thread
Bizarre Music Error - by AGP - 02-03-2013, 02:04 AM
RE: Bizarre Music Error - by PutraenusAlivius - 02-03-2013, 02:31 AM
RE: Bizarre Music Error - by AGP - 02-03-2013, 02:35 AM
RE: Bizarre Music Error - by PutraenusAlivius - 02-03-2013, 02:38 AM
RE: Bizarre Music Error - by AGP - 02-03-2013, 02:40 AM
RE: Bizarre Music Error - by PutraenusAlivius - 02-03-2013, 02:52 AM
RE: Bizarre Music Error - by NaxEla - 02-03-2013, 02:54 AM
RE: Bizarre Music Error - by PutraenusAlivius - 02-03-2013, 03:00 AM
RE: Bizarre Music Error - by AGP - 02-03-2013, 03:21 AM
RE: Bizarre Music Error - by PutraenusAlivius - 02-03-2013, 03:27 AM
RE: Bizarre Music Error - by AGP - 02-03-2013, 03:46 AM
RE: Bizarre Music Error - by PutraenusAlivius - 02-03-2013, 03:54 AM
RE: Bizarre Music Error - by AGP - 02-03-2013, 04:18 AM
RE: Bizarre Music Error - by No Author - 02-03-2013, 05:18 AM
RE: Bizarre Music Error - by AGP - 02-03-2013, 05:20 AM
RE: Bizarre Music Error - by The chaser - 02-03-2013, 11:55 AM
RE: Bizarre Music Error - by No Author - 02-03-2013, 12:00 PM
RE: Bizarre Music Error - by The chaser - 02-03-2013, 12:20 PM



Users browsing this thread: 1 Guest(s)