01.10.2010, 18:21
What effect would there be for placing a return 1 in a loop? Would that stop the loop? Would return 0 have the same effect?
return 1;
return 0;
OnPlayerEnterInterior([...])
{
if(Bleh==32)return 1;
print("Won't printed if Bleh=32.");
return 1;
}
OnPlayerEnterInterior([...])
{
if(Bleh==32)return 1;
else return 0;
print("Won't printed (never).");
return 1;
}