Icaab2608
Member
Posts: 85
Threads: 37
Joined: Jul 2013
Reputation:
0
|
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 |
|
Mudbill
Muderator
Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation:
179
|
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 |
|
Icaab2608
Member
Posts: 85
Threads: 37
Joined: Jul 2013
Reputation:
0
|
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 |
|