06-01-2012, 07:38 PM
I need help! I am making some new test script-maps and I don't know the right syntaxtype for the script:
SetLanternLitCallback("blabla");
}
...
void blabla(???????)
{
script
script
script
}
In the Games Wiki is that:
void SetLanternLitCallback(string& asCallback);
Sets the function to call when the player uses his lantern.
Callback syntax: MyFunc(bool abLit)
What is bool abLit? true/false? Or Lit/NotLit?
Pleeeeeease help quickly!
GReeZe' P44
SetLanternLitCallback("blabla");
}
...
void blabla(???????)
{
script
script
script
}
In the Games Wiki is that:
void SetLanternLitCallback(string& asCallback);
Sets the function to call when the player uses his lantern.
Callback syntax: MyFunc(bool abLit)
What is bool abLit? true/false? Or Lit/NotLit?
Pleeeeeease help quickly!
GReeZe' P44