WeaponMineClass

Classlabel: "weaponmine"

Class Tree: Entity->GameObject->Building->Mine->WeaponMine

Description:
Weapon Mine is a Mine that can shoot a WeaponClass at a nearby Target.

Default ODF Properties:
[GameObjectClass]
maxHealth = 1000

[MineClass]
lifeSpan = 1e30


ODF Properties:
  • [WeaponMineClass]

    searchRadius = 50.0f
    Radius the Weapon Mine will search for Targets.

    heightScale = 10.0f
    Height which the ordnance emits from.

    TargetHidden = -1
    If this is >= 0, it is used to check if the Weapon Mine targets MorphTanks with HiddenWhenMorphed while Deployed. 0 is false, 1 is true.

    TargetInteractable = -1
    If this is >= 0, it is used to check if the Weapon Mine targets objects that are Interactable. 0 is false, 1 is true.

    TeamFilter = 0
    Team Filter for what objects the Weapon Mine can Target. Valid values: 0 = all teams, 1 = same team only, 2 = allies, 3 = enemies, 4 = not same team
On this page