A module with an Arguments with typeName = "NUMBER" that with a value of 0 will be set to -1. Only 3d editor is effected, 2d works normally.
{F28061}
A module with an Arguments with typeName = "NUMBER" that with a value of 0 will be set to -1. Only 3d editor is effected, 2d works normally.
{F28061}
See Attached SQM for demo.
Place a ModuleTaskCreate_F with var name "x3"
Set Owner to "Syncronized Objects Only"
Sync to player unit
Module will have no effect.
Check (x3 getVariable "owner") will be -1 instead of expected 0
Module config:
class ModuleTaskCreate_F: Module_F { class Arguments { class Owner { displayName = "Owner"; typeName = "NUMBER"; class values { class Unit { name = "Synchronized objects only"; value = 0; };
When saving as unbined sqm the value is clearly wrong:
class Attribute5 {
property="ModuleTaskCreate_F_Owner"; expression="_this setVariable ['Owner',_value,true];"; class Value { class data { class type { type[]= { "SCALAR" }; }; value=-1; }; };
};
bin/unbined sqm has no effect