Home   Help Search Login Register  

Author Topic: Counting the bombs  (Read 589 times)

0 Members and 1 Guest are viewing this topic.

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Counting the bombs
« on: 20 Jul 2005, 19:36:47 »
I want a trigger to execute when an default BIS A10 (LGB) is out of bombs. What do I put in the 'On Activation' line?!?
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline 456820

  • Contributing Member
  • **
Re:Counting the bombs
« Reply #1 on: 20 Jul 2005, 19:46:38 »
a10_name someammo
or is it
someammo a10_name

im not totally sure but that should work unless the A10 also have machine guns if so that wont work unless it has no machine gun ammo
but ive never actually used the A10 lgb so i dont know if it has machine guns or not

anwyay thats goes in the condition field of a trigger

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Counting the bombs
« Reply #2 on: 20 Jul 2005, 19:47:05 »
Code: [Select]
vehicle player ammo "laserguidedbomblauncher" <=0
just tested, works fine ;)

Offline Blanco

  • Former Staff
  • ****
Re:Counting the bombs
« Reply #3 on: 20 Jul 2005, 19:47:34 »
Code: [Select]
myA10 ammo "laserguidedbomb" <= 0
I'm not sure about the "laserguidedbomb" part...
*edit*
forget about it... use Bedges code.  ;)
3 replies in 1 minute!




« Last Edit: 20 Jul 2005, 19:49:56 by Blanco »
Search or search or search before you ask.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Counting the bombs
« Reply #4 on: 20 Jul 2005, 19:50:41 »
actually on reflection, you should combine the two, as the trigger will fire as soon as the player is not in an a10.... name the plane, and use the name in the condition field.

that will work ;)

welcome to OFPEC - the original collaborative effort.....  8)
« Last Edit: 20 Jul 2005, 19:50:52 by bedges »

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:Counting the bombs
« Reply #5 on: 20 Jul 2005, 21:09:55 »
Thanks. I figured it out from your first reply Bedges.
OFPEC | Intel Depot
RETARDED Ooops... Retired!