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
Script Help Locking Doors ,Give Item ,and Lights
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#7
RE: Locking Doors ,Give Item ,and Lights

(01-22-2013, 12:39 PM)BeeKayK Wrote: void SetLampLit(string& asName, bool abLit, bool abEffects);
(Un)lits a lamp.
asName - Name of the lamp
abLit - Set true if you want the lamp to be lit, set to false if you want the lamp to be unlit
abEffects - If you want to have the lamp fade in/out when it gets (un)lit

Yeah it all works now. Thanks !
By the way, is it possible to unlock the door if I lock it ?

[Image: the-cabin-in-the-woods-masked-people.jpg]
01-22-2013, 12:46 PM
Find


Messages In This Thread
RE: Locking Doors ,Give Item ,and Lights - by No Author - 01-22-2013, 12:46 PM



Users browsing this thread: 4 Guest(s)