View Single Post
Old 01-06-2006, 02:38 AM   #1 (permalink)
Ambershee
Senior Member
 
Join Date: Apr 2003
Location: Derby, UK / Den Haag, NL
Posts: 590
Default Special Power - small mistake?

Hi all. I've been playing with a simple special power that fires from the USA airfield - an airstrike of sorts as you'll see from what's posted below. However it won't fire - the Invalid cursor displays permanently, so there's a small error here somewhere. If anyone can spot it, I'd appreciate it, I've been playing for a little while now. (I'm so blind to these things, lol).

thanks,

AmberZ

Command Button
Code:
CommandButton Command_RaptorStrike
  Command           = SPECIAL_POWER
  SpecialPower      = SuperweaponRaptorStrike
  Options           = NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel         = CONTROLBAR:RaptorStrike
  ButtonImage       = SNFirestorm
  ButtonBorderType  = ACTION ; Identifier for the User as to what kind of button this is
  DescriptLabel     = CONTROLBAR:TempDescription
  RadiusCursorType  = NAPALMSTRIKE
  InvalidCursorName     = GenericInvalid
End
Command Set
Code:
CommandSet AmericaAirfieldCommandSet
  1 = Command_ConstructAmericaJetRaptor
  2 = Command_ConstructAmericaVehicleComanche
  3 = Command_ConstructAmericaJetAurora
  4 = Command_ConstructAmericaJetStealthFighter
  5 = Command_RaptorStrike
;  6 = Command_RaptorStrike
  7 = Command_UpgradeComancheRocketPods
  8 = Command_UpgradeAmericaLaserMissiles
 11 = Command_SetRallyPoint
 12 = Command_Sell 
End
Ambershee is offline   Reply With Quote