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
Candle's off!
anzki Offline
Member

Posts: 88
Threads: 6
Joined: Apr 2010
Reputation: 1
#3
RE: Candle's off!

(09-20-2010, 05:24 PM)Pandemoneus Wrote: SetLampLit(string& asName, bool abLit, bool abEffects);

SetLampLit("Candle01", false, true);

But you should probably post your script, I don't think the problem lies within that line.

void OnStart()
{
//Smthing... Not affecting this one
SetEntityPlayerInteractCallback("CookKey", "CookKeyTaken", true);
//Then I think it is the line above
}

void CookKeyTaken(string &in asEntity)
{
    SetLampLit("Candle01", false, true);
    SetLampLit("Candle02", false, true);
    SetLampLit("Candle03", false, true);
}

EDIT: And entity name's are right.

[Image: 2qnr5av.png]
09-20-2010, 05:27 PM
Find


Messages In This Thread
Candle's off! - by anzki - 09-20-2010, 05:22 PM
RE: Candle's off! - by Pandemoneus - 09-20-2010, 05:24 PM
RE: Candle's off! - by anzki - 09-20-2010, 05:27 PM
RE: Candle's off! - by Thomas - 09-20-2010, 05:29 PM
RE: Candle's off! - by anzki - 09-20-2010, 05:39 PM
RE: Candle's off! - by Pandemoneus - 09-20-2010, 07:24 PM
RE: Candle's off! - by jens - 09-20-2010, 08:04 PM
RE: Candle's off! - by Pandemoneus - 09-20-2010, 08:53 PM
RE: Candle's off! - by Thomas - 09-20-2010, 08:40 PM
RE: Candle's off! - by anzki - 09-21-2010, 11:40 AM



Users browsing this thread: 1 Guest(s)