(04-12-2012, 06:22 PM)ClayPigeon Wrote: About the first one, I think it won't work as for the fact that if the player does not collide with that area in the first place, the Collide callback won't even be called and the variable won't be set or modified.
I'll check out them both when I'll be able to though, thanks!
Yeah, I forgot to say that I put a SetLocalVarInt("", -1); in OnStart() {} just to initiate it to the -1 state.
If you have a look in the code in the spoiler I put it there, I just forgot to say. It will work if you include that, and the second one should work too, I usually do it the first way just because I'm more familiar with the AddEntityCollideCallback, but if the other way works I might start using that way myself