add a mount to a unit
Posted: Fri Oct 06, 2023 12:09 am
I'm trying to add M142 HIMARS Spiral 3 to a unit. In the editor it says the ID is 3440 for this mount. I've found examples of adding a mount to a unit and have tried to use this.
such as:
ScenEdit_UpdateUnit({name='MYUNIT',mode='add_mount',arc_mount={'360'},dbid=3440})
but I get an error saying "Object reference not set to an instance of an object." Does this mean my dbid for the mount is incorrect? If this is the case how do I find out the dbid of a mount?
such as:
ScenEdit_UpdateUnit({name='MYUNIT',mode='add_mount',arc_mount={'360'},dbid=3440})
but I get an error saying "Object reference not set to an instance of an object." Does this mean my dbid for the mount is incorrect? If this is the case how do I find out the dbid of a mount?