Frictional Games Forum (read-only)

Full Version: Flashlight with a scripts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.Is it possible to do so:when you turn on the flashlight,then activated a scripts?
Quote:void SetLanternLitCallback(string& asCallback);

Sets the function to call when the player uses his lantern.
Callback syntax: MyFunc(bool abLit)
(01-11-2015, 10:37 PM)Mudbill Wrote: [ -> ]
Quote:void SetLanternLitCallback(string& asCallback);

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