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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cant have PlaySoundAtEntity with SetSwingDoorClosed?
Ge15t Offline
Junior Member

Posts: 48
Threads: 8
Joined: Feb 2011
Reputation: 0
#14
RE: Cant have PlaySoundAtEntity with SetSwingDoorClosed?

Ok this is my new problem:

void OnStart()
{
AddEntityCollideCallback("Player", "CandleArea", "BlowOutCandles", true, 1);

}

void BlowOutCandles(string &in entity)
{

    SetLampLit("blowout_1", false, false);
    SetLampLit("blowout_2", false, false);

}

Ok so im trying to get candles to 'blowout' when i collide with the CandleArea script. The game loads but nothing happens when I enter the area.. not too sure whats going on here
(This post was last modified: 05-05-2011, 11:37 AM by Ge15t.)
05-05-2011, 11:35 AM
Find


Messages In This Thread
RE: Cant have PlaySoundAtEntity with SetSwingDoorClosed? - by Ge15t - 05-05-2011, 11:35 AM



Users browsing this thread: 4 Guest(s)