Home   Help Search Login Register  

Author Topic: Trigger activates when A10 is out of LGB's. How?  (Read 522 times)

0 Members and 1 Guest are viewing this topic.

Aculaud

  • Guest
Trigger activates when A10 is out of LGB's. How?
« on: 26 Feb 2003, 23:28:42 »
What condition do i write to get a trigger to activate when an A10 is out of Laser Guided Bombs? He isnt starting out with 30mm machine gun ammo, so the bombs will be the only ammo hes got.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Trigger activates when A10 is out of LGB's. How?
« Reply #1 on: 26 Feb 2003, 23:43:13 »
unit ammo magazine

Operand types:
    unit: Object
    magazine: String
Type of returned value:
    Number
Description:
    Count how many shots are left for given magazine type.

Example:
    player ammo "M16"
Plenty of reviewed ArmA missions for you to play

Aculaud

  • Guest
Re:Trigger activates when A10 is out of LGB's. How?
« Reply #2 on: 27 Feb 2003, 04:18:58 »
Yeah, iv tried that. The following commands have not worked:

a10 ammo "LaserGuidedBomb" == 0
a10 ammo "LaserGuidedBomb" !=0
a10 ammo "LaserGuidedBomb" ==1
a10 ammo "LaserGuidedBomb" < 1

Remember, i need the trigger to activate when the A10 uses its last bomb.

*two minutes later*

Its LaserGuidedBombLauncher thats the syntax.....sorry guys, n\m
« Last Edit: 27 Feb 2003, 04:33:11 by Aculaud »

Aculaud

  • Guest
Re:Trigger activates when A10 is out of LGB's. How?
« Reply #3 on: 27 Feb 2003, 04:33:49 »
lol