Ejemplo n.º 1
0
 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");
     }
Ejemplo n.º 2
0
 public void DeployableTurretWeaponImageOnFire(coShapeBaseImageData thisobj, coShapeBase obj, int slot)
     {
     obj.schedule("0", "throw", thisobj["item"]);
     }
Ejemplo n.º 3
0
        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());
            }