Home   Help Search Login Register  

Author Topic: ammo statement  (Read 544 times)

0 Members and 1 Guest are viewing this topic.

gadolinite

  • Guest
ammo statement
« on: 20 Dec 2004, 09:23:30 »
The unit ammo <magazine> operaror is throwing an unknown operator error at me.  How do you get it to work?

I am using it like this:

_ammo = plane ammo "BISCamelMG"

It still throws it when I do this:

player ammo "M16"

Offline Baddo

  • Former Staff
  • ****
  • Reservist Jaeger
Re:ammo statement
« Reply #1 on: 20 Dec 2004, 11:15:02 »
Hmm...

player ammo "m16"

works fine.

Are you sure you don't have an ammo box or anything else named "ammo"? If yes, change the name to something else or even better would be to not use names at all if possible.

That could make things go wrong.

BUT:

These work for the BIS Camel:

BISCamelMGun
BISGrenadeCamel

so it would be:

_ammo = plane ammo "BISCamelMGun"

There's an example attached, unzip it and copy the folder to

Operation Flashpoint/Users/Missions

And load

Desert Island/ammotest

in the editor. Use the radio...

 8)
« Last Edit: 20 Dec 2004, 11:19:55 by Baddo »