Difference between revisions of "Category:Variables"
Jump to navigation
Jump to search
forget it, that's not going to work
imported>DragoonWraith (well... this doesn't really look terribly good, BUT...) |
imported>DragoonWraith (forget it, that's not going to work) |
||
Line 1: | Line 1: | ||
{{Update}} | |||
There are a few types of variables. Most store numbers, but the special [[Reference Variables]] stores something in the game world so you can run functions on it later. | There are a few types of variables. Most store numbers, but the special [[Reference Variables]] stores something in the game world so you can run functions on it later. | ||
Line 22: | Line 19: | ||
Other than that, however, generally [[Long Integer|longs]] and [[Short Integer|shorts]] will be rounded off to the nearest integer (i.e. 1.25 becomes 1, 1.75 becomes 2), while [[Floating Point|floats]] will store the decimal data. However, if a variable is a Global, then it will ''always'' be a [[Floating Point|float]] and therefore will not round off the decimal values. | Other than that, however, generally [[Long Integer|longs]] and [[Short Integer|shorts]] will be rounded off to the nearest integer (i.e. 1.25 becomes 1, 1.75 becomes 2), while [[Floating Point|floats]] will store the decimal data. However, if a variable is a Global, then it will ''always'' be a [[Floating Point|float]] and therefore will not round off the decimal values. | ||
[[Category:Scripting]] | |||
[[Category:Commands]] | |||
[[Category:Functions]] |