(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.