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???
Hooumeri Offline
Member

Posts: 57
Threads: 11
Joined: Oct 2010
Reputation: 0
#13
RE: Monster only in darkness???

(11-15-2010, 12:06 PM)Kyle Wrote:
(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

:p I have not even tried it, the reason why bool and void is there, is because I was sharing them here. Copy pasted them straight from the functions page, thats why.
11-15-2010, 01:54 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: 2 Guest(s)