Community

AGI Programming => Mega Tokyo AGI Archive => Topic started by: Dwarfy on December 06, 2002, 01:29:25 PM

Title: need help in how to do flags etc.
Post by: Dwarfy on December 06, 2002, 01:29:25 PM
Hi! How do flags, varis. etc. works?
Title: Re:need help in how to do flags etc.
Post by: Andrew_Baker on December 06, 2002, 02:10:00 PM
RTFM!!!

A flag has two states in AGI, set or reset, equivalent to 1 and 0, respectively.

A variable has a value of 0-255.  If you go under 0 or over 255, you'll find the var sort of "wrapping around".  Like 0 minus 5 will give you something like 250, except it's not very consistent, so you should never rely on this.

Have you actually read the help docs included in AGIStudio?  And I mean, ALL of them!!!