OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: The-Architect 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?
-
You're missing a ?.
-
Yep, got it. Bloody scripts.
Cheers Macca.