View Single Post
Old 09-03-2003, 12:32 PM   #1 (permalink)
Malc
Senior Member
 
Join Date: Feb 2003
Location: UK
Posts: 164
Default Force Fire Button

Ok, ive got my self a mobile repair vehicle the way the repair was done was using a weapon but of course you can't target friendly vehicles without doing a force fire so im trying to create a button todo the force fire but without much sucess Heres what ive got,

Code:
CommandButton Command_UKSamaritanRepair
  Command                 = FIRE_WEAPON
  WeaponSlot              = PRIMARY
  Options                 = OK_FOR_MULTI_SELECT NEED_TARGET_ENEMY_OBJECT NEED_TARGET_NEUTRAL_OBJECT NEED_TARGET_ALLY_OBJECT
  Upgrade                 = None
  TextLabel               = CONTROLBAR:Repair
  ButtonImage             = SSRepair
  CursorName              = AttackMove
  InvalidCursorName       = GenericInvalid
  ButtonBorderType        = ACTION ; Identifier for the User as to what kind of button this is
  DescriptLabel           = CONTROLBAR:ToolTipRepair
  UnitSpecificSound       = UKVoiceAttack
End
Suggestions?[/code]
Malc is offline   Reply With Quote