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
How to check if the lantern is lit in certain area?
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: How to check if the lantern is lit in certain area?

Use the SetLanternLitCallback(string& asCallback); function in your area script.

Basically, when player enters the area, set the lantern callback with SetLanternLitCallback("FunctionName"); and when players exit the area set it to SetLanternLitCallback(""); to remove the callback.

11-26-2011, 02:21 PM
Website Find


Messages In This Thread
RE: How to check if the lantern is lit in certain area? - by Tanshaydar - 11-26-2011, 02:21 PM



Users browsing this thread: 1 Guest(s)