Difference between revisions of "Messagebox Tutorial/Set Variables"
Jump to navigation
Jump to search
no edit summary
imported>Haama |
imported>Haama |
||
Line 61: | Line 61: | ||
endif | endif | ||
...</pre> | ...</pre> | ||
==Mins and Maxs== | |||
If you want to use minimums and/or maximums for the variable, you'll need to run checks at a few key locations. To cover all of the '''''-10''''', '''''-5''''', '''''+5''''', '''''+10''''' options place the check right before the [[MessageBox]] function, as such: | If you want to use minimums and/or maximums for the variable, you'll need to run checks at a few key locations. To cover all of the '''''-10''''', '''''-5''''', '''''+5''''', '''''+10''''' options place the check right before the [[MessageBox]] function, as such: | ||
<pre>... | <pre>... |