ACE3/addons/laser/CfgVehicles.hpp

33 lines
908 B
C++
Raw Normal View History

2016-05-30 16:37:03 +00:00
class CfgVehicles {
class All;
class LaserTarget: All {
// @TODO: Changing the model and simulation hides it, but THEN IT DOESNT SPAWN WTF!?
// model = "\A3\Weapons_F\empty.p3d";
2016-05-30 16:37:03 +00:00
class EventHandlers {
class ADDON {
init = QUOTE(_this call FUNC(handleLaserTargetCreation));
};
2016-05-30 16:37:03 +00:00
};
};
// laserTarget fails if the turret does not have "primaryGunner" config
// This only effects the indfor strider who's commander is not the primaryGunner
class LandVehicle;
class Car: LandVehicle {
class NewTurret;
2016-05-30 16:37:03 +00:00
};
class Car_F: Car {
2016-05-30 16:37:03 +00:00
class Turrets {
class MainTurret: NewTurret {};
2016-05-30 16:37:03 +00:00
};
};
class MRAP_03_base_F: Car_F {
2016-05-30 16:37:03 +00:00
class Turrets: Turrets {
class CommanderTurret: MainTurret {
primaryGunner = 1;
2016-05-30 16:37:03 +00:00
};
};
};
};