Variable
From GMpedia.org Wiki
(Redirected from Variables)
| This article (or section) may need to be wikified to meet GMpedia's quality standards. Please help improve this article, especially its categories, and wiki-links. |
A variable is a dynamic value. Meaning it is a value which can be changed during the code. For example
if distance_to_object(obj_book)<=20
{
global.learn+=1;
}
In the above example, if the player is standing within 20 pixels of the book object, they will learn. This is done by increasing the learn variable.
This article is a stub, please help GMpedia expand it.

