MotionSensorClass

Classlabel: "sensor"

Class Tree: Entity->GameObject->Building->PoweredBuilding->MotionSensor

Description:
MotionSensor class are able to Objectify nearby enemies.

Default ODF Properties:
categoryTypeOverride = 19 //TEAM_SLOT_SENSOR
buildRequire = "F"
buildSupport = "A"

ODF Properties:
  • [MotionSensorClass]

    rangeScan = 500.0f
    How far it will search for objects to Objectify.

    MaxCraft = -1
    Maximum number of Craft it can Objectify.

    MaxBuildings = -1
    Maximum number of Buildings it can Objectify.

    searchFilter = -1
    Bit Mask for object search for filtering what kinds of objects it can Objectify. Valid values:
    • 1 = Hovercraft.
    • 2 = TrackedVehicle / Walker.
    • 4 = Torpedo.
    • 8 = Powerup.
    • 16 = Person.
    • 32 = LandCreature.
    • 64 = Building (i76building, Cnozzle)
    • 128 = PoweredBuilding
    • 256 = Sign (i76sign, Mine)
    • 512 = Scrap
    • 1024 = Deposit
    • 2048 = Beacon
    • 4096 = Plant/Bush
    • 8192 = Terrain
On this page