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
Request Lantern Off
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Lantern Off

Ever checked the wiki? Might come in handy -> http://wiki.frictionalgames.com/hpl2/amn..._functions

void SetLanternActive(bool abX, bool abUseEffects);

Makes the player use his lantern.


bool GetLanternActive();

Checks whether the player currently uses his lantern.


void SetLanternDisabled(bool abX);

Enables/Disables the player's ability to use his lantern.


void SetLanternLitCallback(string& asCallback);

Sets the function to call when the player uses his lantern.
Callback syntax: MyFunc(bool abLit)

05-29-2011, 05:04 PM
Website Find


Messages In This Thread
Lantern Off - by laser50 - 05-29-2011, 04:35 PM
RE: Lantern Off - by Tanshaydar - 05-29-2011, 05:04 PM
RE: Lantern Off - by Ongka - 05-29-2011, 05:04 PM
RE: Lantern Off - by laser50 - 05-29-2011, 05:55 PM
RE: Lantern Off - by Ongka - 05-29-2011, 06:34 PM
RE: Lantern Off - by laser50 - 05-29-2011, 08:19 PM



Users browsing this thread: 2 Guest(s)