public void DeployableTurretWeaponOnPickup(coAITurretShapeData thisobj, coAITurretShape obj, string shape, string amount) { console.Call_Classname("Weapon", "onPickup", new string[] { thisobj, obj, shape, amount }); }
public void AITurretShapeData_OnDeploy(coAITurretShapeData thisobj, coAITurretShape turret) { for (int i = 0; i < thisobj["numWeaponMountPoints"].AsInt(); i++) turret.setImageLoaded(i, true); turret.playAudio(0, "TurretActivatedSound"); }
public void DeployableTurretWeaponOnUse(coAITurretShapeData thisobj, coAITurretShape obj) { console.Call_Classname("Weapon", "onUse", new string[] { thisobj, obj }); }
public void AITurretShapeData_OnFiring(coAITurretShapeData thisobj, coAITurretShape turret) { turret.setAllGunsFiring(true); }
public void AiTurretShapeDataOnThrown(coAITurretShapeData thisobj, coAITurretShape turret) { turret.playAudio(0, "TurretThrown"); }
public void AITurretShapeData_OnNoTarget(coAITurretShapeData thisobj, coAITurretShape turret) { turret.setAllGunsFiring(false); turret.recenterTurret(); turret.playAudio(0, "TargetLostSound"); }
public void AITurretShapeData_OnTarget(coAITurretShapeData thisobj, coAITurretShape turret) { turret.call("startTrackingTarget"); turret.playAudio(0, "TargetAquiredSound"); }
public void AiTurretShapeDataOnScanning(coAITurretShapeData thisobj, coAITurretShape turret) { turret.call("startScanForTargets"); turret.playAudio(0, "TurretScanningSound"); }
public void AiTurretShapeData(coAITurretShapeData thisobj, coAITurretShape turret, string lastState, string nameSpaceDepth) { turret.playAudio(0, "TurretDestroyed"); turret.setAllGunsFiring(false); turret.resetTarget(); turret.setTurretState("Destroyed", false); for (int i = 0; i < thisobj["numWeaponMountPoints"].AsInt(); i++) turret.setImageGenericTrigger(i, 0, true); int nsd = (nameSpaceDepth.AsInt()); console.ParentExecute(thisobj, "onDestroyed", nsd, new string[] { thisobj, turret, lastState }); }
public void AiTurretShapeDataOnAdd(coAITurretShapeData thisobj, coAITurretShape obj, string nameSpaceDepth) { int nsd = (nameSpaceDepth.AsInt() + 1); console.ParentExecute(thisobj, "onAdd", nsd, new string[] { thisobj, obj }); obj["mountable"] = false.AsString(); }