Home   Help Search Login Register  

Author Topic: Check Ammo  (Read 907 times)

0 Members and 1 Guest are viewing this topic.

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Check Ammo
« on: 12 Aug 2005, 02:13:31 »
I'm trying to have a script check to see whether an A10 has any bombs left and if it hasn't, go home.

I tried this,

#Check
Strikeplane ammo "Laserguidedbomb" >= 1 : goto "Check"

Strikepilot sidechat "I'm out of ammo here. I'm heading home. Out."
~5
[Strikepilot] join Grpnull
Strikepilot Land "Land"


I'm getting an unknown operator message on the first bit. Any ideas?
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Check Ammo
« Reply #1 on: 12 Aug 2005, 10:20:01 »
You're missing a ?.
Plenty of reviewed ArmA missions for you to play

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Check Ammo
« Reply #2 on: 12 Aug 2005, 18:37:02 »
Yep, got it. Bloody scripts.
Cheers Macca.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."