SobGroup_ChangePower(<sSobGroupName>, <sJointName>, <bWeaponPower>)
Description
Enables or disables all weapons mounted on <sJointName> on all the squadrons in <sSobGroupName>.
Example
SobGroup_ChangePower("Dreadnaught", "Weapon_HullDefense1", 0)
Arguments
<sSobGroupName>: the name of the sobgroup to change the power of the weapons on.
<sJointName>: name of the joint where the weapon is mounted
<bWeaponPower>: 0 = disable, 1 = enable
Scope
Related Pages: