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
Making a trigger to turn lights off?
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#3
RE: Making a trigger to turn lights off?

void SetLampLit(string& asName, bool abLit, bool abEffects);

asName = name of the lamp entity
abLit = boolean (true / false) if the lamp should be lit or not
abEffects = another boolean if the engine should use effects to light the lamp (basically, this means you will see the flame appear and the shine, false would just switch it into the lit-state, use it when the player can see the lamp)


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
01-06-2011, 06:40 PM
Find


Messages In This Thread
RE: Making a trigger to turn lights off? - by Frontcannon - 01-06-2011, 06:40 PM



Users browsing this thread: 1 Guest(s)