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 Flashlight with a scripts
Icaab2608 Offline
Member

Posts: 85
Threads: 37
Joined: Jul 2013
Reputation: 0
#1
Question  Flashlight with a scripts

Hello.Is it possible to do so:when you turn on the flashlight,then activated a scripts?
01-11-2015, 10:22 PM
Find Reply
Mudbill Offline
Muderator

Posts: 3,877
Threads: 59
Joined: Apr 2013
Reputation: 178
#2
RE: Flashlight with 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
Find Reply
Icaab2608 Offline
Member

Posts: 85
Threads: 37
Joined: Jul 2013
Reputation: 0
#3
RE: Flashlight with a scripts

(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!
01-12-2015, 03:51 PM
Find Reply




Users browsing this thread: 1 Guest(s)