Thread: WeaponSet
View Single Post
Old 11-06-2005, 12:42 PM   #1 (permalink)
Dibelius
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 363
Send a message via ICQ to Dibelius
Default WeaponSet

is there any possibility to make the weaponset dependent on condition states?

I wonna change the weaponset when my tank is DAMAGED or REALLYDAMAGED... so I tried this:

Code:
;-- Method 1

  WeaponSet
    Conditions            = DAMAGED
    Weapon                = PRIMARY WeaponDAMAGED
    AutoChooseSources     = PRIMARY FROM_PLAYER FROM_AI FROM_SCRIPT
  End
--> game crashes!

Code:
;-- Method 2

  WeaponSet
    Conditions            = None
    Weapon                = PRIMARY Weapon
    Weapon                = PRIMARY DAMAGED WeaponDAMAGED
    AutoChooseSources     = PRIMARY FROM_PLAYER FROM_AI FROM_SCRIPT
  End

;-- Method 3

  WeaponSet
    Conditions            = None
    Weapon                = PRIMARY Weapon
    AutoChooseSources     = PRIMARY FROM_PLAYER FROM_AI FROM_SCRIPT
  End
  WeaponSet
    Conditions            = None
    Weapon                = PRIMARY DAMAGED WeaponDAMAGED
    AutoChooseSources     = PRIMARY FROM_PLAYER FROM_AI FROM_SCRIPT
  End
--> no crash, but no effect too with both methods... where's the trick in that? :dead:
Dibelius is offline   Reply With Quote