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