Page 1 of 1
MATH Actions
Posted: Fri Jun 06, 2014 1:21 pm
by A-Red
Hey all. Are there any tutorials or other good sources of information on how to use the new Math and Query Unit actions, and what sort of things they're good for?
Also, what is Unit Indicator, and why is it a separate MA when all its flags are also in Unit Control?
Re: MATH Actions
Posted: Fri Jun 06, 2014 1:45 pm
by Pyro
The Loathing doc and the parameter descriptions seen in Loathing can help with some of this at least to get you started. This
thread explains a basic setup for Math.
Math MA basically lets you do any basic math equation which can be good if you want to test for certain values or alter them. It is like a cross between a GEOM and a MUNG.
QUNI lets you retrieve values from units. So instead of having some TUNI or GEOM figure out if a unit has at least a certain amount, you can just grab the exact value and maybe play around with it in MATH.
UIND right now only has those overhead text parameters CTRL already has. It works as the original set of params found in CTRL but you can specify which team or which player can see it. Think of it like that Fear feature for local proj groups where you can set them to be seen by the owner's team or the owner's player. Well it would actually be closer to that SOUN flag that lets a sound and its subtitle only be seen by the owner team or owner player.
Re: MATH Actions
Posted: Fri Jun 06, 2014 3:57 pm
by A-Red
Awesome, thanks! I'll get caught up on all these 1.8 features sooner or later. Anything else you've personally found to be super useful? I noticed the Reboot Action param in Mungers, which seems like it's got some great potential (recycling Platoons, for instance).
Re: MATH Actions
Posted: Fri Jun 06, 2014 4:35 pm
by Pyro
In the mapmaking docs, anything with *New* is a 1.8.0 feature. With 1.7.x features indicated by *1.7.0*, *1.7.1*, and *1.7.2* text. These should make it easy to search using whatever search function your browser has (Ctrl-F for some). In some cases old options are altered with additional capabilities.
The LOCK action is an interesting one if you have a use for it. It allows you to run a group of tests like TUNI or GEOM a lot quicker than if you ran them in a series. Apparently it was broken in the past and someone fixed it back in 1.7.0. Bear can be useful for some ambient units you may want on some maps. Works like Deer, Chicken, etc but attacks others near them as the name may imply.
Fade Screen may be of use. Got added around the same time as Math so its not new but still recent if you haven't been keeping up with new features. Custom Ending and Custom Scoring are useful too if you want to make custom gametypes for multiplayer.
If you work with inventory and artifacts, it may interest you to know about the changes in the TUNI params "Object Held" and "Object Held Inventory" that can now test for units using inventory 0 and having no inventory.