public void DeployableTurretWeaponImageOnUnmount(coShapeBaseImageData thisobj, coShapeBase obj, int slot) { //print("AI CONTROL 7"); if (obj["client"] != "" && obj["isAiControlled"].AsBool() == false) ((coGameConnection)obj["client"]).call("RefreshWeaponHud", "0"); }
public void DeployableTurretWeaponImageOnFire(coShapeBaseImageData thisobj, coShapeBase obj, int slot) { obj.schedule("0", "throw", thisobj["item"]); }
public void DeployableTurretWeaponImageOnMount(coShapeBaseImageData thisobj, coShapeBase obj, int slot) { obj.setImageAmmo(slot, true); int numTurrets = ShapeBaseShapeBaseGetInventory(obj, thisobj["item"]); if (obj["client"] != "" && obj["isAiControlled"].AsBool() == false) ((coGameConnection)obj["client"]).call("RefreshWeaponHud", "1", thisobj["item.previewImage"], thisobj["item.reticle"], thisobj["item.zoomReticle"], numTurrets.AsString()); }