GlobalVariable Script: Difference between revisions
Jump to navigation
Jump to search
Corrected the manner for traditionally casting the SetValue function with an int argument.
imported>Terra Nova2 m (Added note concerning Get/SetValueInt()) |
imported>OpusGlass (Corrected the manner for traditionally casting the SetValue function with an int argument.) |
||
| Line 32: | Line 32: | ||
== Notes == | == Notes == | ||
*For SetValueInt(), and GetValueInt(), it is better and faster to use traditional cast methods. As is the compiler will auto-cast them which is slower. Use | *For SetValueInt(), and GetValueInt(), it is better and faster to use traditional cast methods. As is the compiler will auto-cast them which is slower. Use GetValue() as int, and SetValue(MyInt as float) instead. | ||
== Events == | == Events == | ||
None | None | ||