Beispiel #1
0
 public void AITurretShapeData_OnNoTarget(coAITurretShapeData thisobj, coAITurretShape turret)
     {
     turret.setAllGunsFiring(false);
     turret.recenterTurret();
     turret.playAudio(0, "TargetLostSound");
     }
Beispiel #2
0
 public void AITurretShapeData_OnFiring(coAITurretShapeData thisobj, coAITurretShape turret)
     {
     turret.setAllGunsFiring(true);
     }
Beispiel #3
0
        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 });
            }