IPB

Welcome Guest ( Log In | Register )

Make an ability untargetable for Airborne units
Spec
post 30 Dec 2017, 18:57
Post #1



Group Icon

Group: Members
Posts: 122
Joined: 30 June 2013
Member No.: 10007



How to make an ability untargetable for Air Units? Because whenever I target Air units the ability does not seem to work. The function of the ability is only for ground units which the OCL would only affect ground units and it cannot target Airborne. TIA
CODE
CommandButton Command_LaserDesignate
  Command = SPECIAL_POWER
  WeaponSlot = SECONDARY
  SpecialPower = SpecialAbilityLaserTargeter
  Options = OK_FOR_MULTI_SELECT NEED_TARGET_ENEMY_OBJECT NEED_TARGET_NEUTRAL_OBJECT CONTEXTMODE_COMMAND
  TextLabel = CONTROLBAR:LaserDesignate
  ButtonImage = LaserDesignate; LaserTargeter
  CursorName = LaserGuidedMissiles
  InvalidCursorName = GenericInvalid
  DescriptLabel = CONTROLBAR:ToolTipLaserDesignate
  ButtonBorderType = ACTION
End

  Behavior = SpecialAbility ModuleTag_ArtyStrike01
    SpecialPowerTemplate = SpecialAbilityLaserTargeter
    UpdateModuleStartsAttack = Yes
  End
  Behavior = SpecialAbilityUpdate ModuleTag_ArtyStrike02
    SpecialPowerTemplate = SpecialAbilityLaserTargeter
    StartAbilityRange = 400
    AbilityAbortRange = 425
    PreparationTime = 100
    PersistentPrepTime = 50
    SpecialObject = LaserBeam
    SpecialObjectAttachToBone = Muzzle01
  End


This post has been edited by Spec: 30 Dec 2017, 18:57
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 18 April 2024 - 12:50