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
Wind to blow out candles, and lever to open secret passage?
gosseyn Offline
Member

Posts: 63
Threads: 7
Joined: Sep 2010
Reputation: 1
#2
RE: Wind to blow out candles, and lever to open secret passage?

i think you just have to cast a particle effect or two well placed, and use SetLampLit to unlit the candles. For the lever you can use SetLeverStuckState and use an interaction callback to link it to the shelf. Moving the shelf is still blur to me, but i would use two shelves : one that is unmovable by the player and is active by the start of the map (use model editor to make it unmovable) and another shelf that is movable but inactive at map start. When the lever is pulled, make the unmovable shelf disappear (SetEntityActive) and the movable shelf appear, then use an impulse to move the shelf.
09-20-2010, 01:48 AM
Find


Messages In This Thread
RE: Wind to blow out candles, and lever to open secret passage? - by gosseyn - 09-20-2010, 01:48 AM



Users browsing this thread: 1 Guest(s)