Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 3 Vote(s) - 1.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Monster only in darkness???
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#9
RE: Monster only in darkness???

(11-15-2010, 10:53 AM)Hooumeri Wrote: I found these but I'm not sure what they do

bool GetLanternActive(); (same as setlanterndisabled???)
void SetLanternLitCallback(string &asCallback); (Callback for turnin the lantern on???)

Also how does the vars work? What can you do with them?

Don't include the bool and void in there. It should only be on the function or whatever...
Example:
void Function(string &in asParent, string &in asChild, int alState)
{
GetLanternActive();
if GetLanternActive() == true;
than [Whatever you want to happen]
}

This is how I think you do it... but I'm not sure. Smile

(This post was last modified: 11-15-2010, 12:10 PM by Kyle.)
11-15-2010, 12:06 PM
Find


Messages In This Thread
Monster only in darkness??? - by Everlone - 11-14-2010, 12:55 PM
RE: Monster only in darkness??? - by Chilton - 11-14-2010, 01:20 PM
RE: Monster only in darkness??? - by Everlone - 11-14-2010, 01:31 PM
RE: Monster only in darkness??? - by Chilton - 11-14-2010, 01:40 PM
RE: Monster only in darkness??? - by Everlone - 11-14-2010, 01:53 PM
RE: Monster only in darkness??? - by Hooumeri - 11-14-2010, 02:05 PM
RE: Monster only in darkness??? - by Everlone - 11-14-2010, 02:19 PM
RE: Monster only in darkness??? - by Hooumeri - 11-15-2010, 10:53 AM
RE: Monster only in darkness??? - by Kyle - 11-15-2010, 12:06 PM
RE: Monster only in darkness??? - by Hooumeri - 11-15-2010, 01:54 PM
RE: Monster only in darkness??? - by Everlone - 11-15-2010, 12:13 PM
RE: Monster only in darkness??? - by Chilton - 11-15-2010, 12:59 PM
RE: Monster only in darkness??? - by Everlone - 11-15-2010, 01:46 PM
RE: Monster only in darkness??? - by Chilton - 11-15-2010, 02:40 PM
RE: Monster only in darkness??? - by Everlone - 11-15-2010, 03:03 PM
RE: Monster only in darkness??? - by anzki - 11-15-2010, 04:41 PM
RE: Monster only in darkness??? - by Everlone - 11-15-2010, 05:03 PM
RE: Monster only in darkness??? - by HakePT - 11-16-2010, 05:29 PM
RE: Monster only in darkness??? - by morgoe - 11-18-2010, 07:52 AM



Users browsing this thread: 1 Guest(s)