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 fade
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#5
RE: Candle fade

(11-08-2011, 07:05 PM)Statyk Wrote: {
SetLampLit("LAMPNAME_1", false);
SetLampLit("LAMPNAME_2", false);
SetLampLit("LAMPNAME_3", false);
//And so-on with each lamp you want to shut off.
}
The SetLampLit function has one more bool after. I'm not sure if it works without setting it to true or false.
SetLampLit(string& asName, bool abLit, bool abEffects);

the bool abEffects adds a sound/particle effect or something when the lamp is lit/unlit, so setting it true might be good.

SetLampLit("LAMPNAME", false, true);

11-08-2011, 07:43 PM
Find


Messages In This Thread
Candle fade - by proshitness - 11-08-2011, 06:23 PM
RE: Candle fade - by Statyk - 11-08-2011, 06:53 PM
RE: Candle fade - by proshitness - 11-08-2011, 06:57 PM
RE: Candle fade - by Statyk - 11-08-2011, 07:05 PM
RE: Candle fade - by Khyrpa - 11-08-2011, 07:43 PM
RE: Candle fade - by proshitness - 11-08-2011, 07:48 PM
RE: Candle fade - by Statyk - 11-09-2011, 12:31 AM
RE: Candle fade - by Khyrpa - 11-08-2011, 07:51 PM
RE: Candle fade - by proshitness - 11-08-2011, 07:59 PM
RE: Candle fade - by proshitness - 11-09-2011, 08:06 AM
RE: Candle fade - by Your Computer - 11-09-2011, 01:51 PM
RE: Candle fade - by proshitness - 11-09-2011, 02:00 PM
RE: Candle fade - by Your Computer - 11-09-2011, 02:26 PM
RE: Candle fade - by proshitness - 11-09-2011, 02:49 PM
RE: Candle fade - by Your Computer - 11-09-2011, 03:47 PM
RE: Candle fade - by proshitness - 11-09-2011, 03:47 PM
RE: Candle fade - by Statyk - 11-09-2011, 09:58 PM
RE: Candle fade - by proshitness - 11-09-2011, 10:06 PM
RE: Candle fade - by Statyk - 11-09-2011, 10:12 PM
RE: Candle fade - by proshitness - 11-09-2011, 10:23 PM



Users browsing this thread: 3 Guest(s)