🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!
"one of 7 basic types" I only counted 6: integer, real, string, handle, boolean, code. Am I missing something?
Just nit-picking
Edit: your question is basically the same as "how is storing something in variable saving?"
You can also store function inside global variable, code however, cannot be stored inside hashtable or gamecache, and cannot be declared as array. All code variables must take no arguments, and they can return anything, even tho current and the older pjass versions only allow functions that return nothing.
Code type has very strict usage restrictions for security reasons.
For dynamic call functionality either use string (function name) or triggers (faster, safer for optimization) in globals.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.