Frictional Games Forum (read-only)

Full Version: Any place to ask for help without making a thread?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, i am just really stuck at some things, they seem to not make sense to me, but surely someone can easily fix it. And so i am asking if there is some thread where you can ask about a certain script that you CAN'T understand at all, instead of people making new threads (like that Theforgot3n1)...

For example:

Code:
void OnEnter()

{
AddLocalVarInt("lantern",0);
SetEntityPlayerInteractCallback( "Lantern" (when you pick up the lantern) , "SetVariable", true);
}

void SetVariable(string &in asEntity)
{
SetLocalVarInt("lantern", 1);
}

I just have no idea what is wrong, i have tried stuff for about 2-3 hours now and nothing seems to be it.

You can always pm me and I'll help you Smile