Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
This is now done! Apologies for the long wait. New context menu items for measuring off, and army measuring off
@Axlion
Thanks for the message; I've improved the error messaging in the mod, so hopefully better at tracking down what has happened.
Error in Script (Global): chunk_4:(883,4-55): attempt to index a nil value
This has come up when, in the web tool, I use the "Duplicate this model definition" to have an entry that would have just one of the checkable items marked.
Also a minor bug when I didn't have any models selected and may have not had one of the assignment cards active, pressing Scripting Key 2 resulted in
Error in Script (Global) function <onScriptingButtonDown>: chunk_4:(839,22-76): attempt to concatenate a nil value
Hope this helps with the next update.
i created an extra function called cycleMeasuringRadius1
function cycleMeasuringRadius1()
local decodedMemo = JSON.decode(self.memo)
measuringCircle.radius = 0;
if measuringCircle.radius == 0 then
printToAll("measuring aura turned off")
end
rebuildStatusEffectThings();
end
then within the preexisting "function rebuildcontext()" i added another context menu under the preexisting self.addContextMenuItem("Measuring", cycleMeasuringRadius, true)
note that the code before and after the self.addContextMenuItems in this example was removed to shorten the post
function rebuildcontext()
self.addContextMenuItem("Measuring", cycleMeasuringRadius, true)
self.addContextMenuItem("Measuring off ", cycleMeasuringRadius1, true)
let me know if you have any questions, need help, and if we can update this
User error :)
Where should I submit these? it's pretty consistent.