Home   Help Search Login Register  

Author Topic: How many Bullets  (Read 635 times)

0 Members and 1 Guest are viewing this topic.

dius

  • Guest
How many Bullets
« on: 25 Dec 2004, 16:37:31 »
Hi

How i can find out, how many bullets a soldier have in the magazin of his Weapon he use?

 ???
« Last Edit: 25 Dec 2004, 16:38:56 by dius »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:How many Bullets
« Reply #1 on: 25 Dec 2004, 16:41:08 »
unit ammo "magazinename"

For example:

player ammo "m16"


Planck
I know a little about a lot, and a lot about a little.

dius

  • Guest
Re:How many Bullets
« Reply #2 on: 25 Dec 2004, 16:47:48 »
thanks Planck

 :D

dius

  • Guest
Re:How many Bullets
« Reply #3 on: 25 Dec 2004, 17:02:52 »
1 other question.
How i find out, what a Weapon the soldier use now?
With "HasWeapon" you can only find if he has a specific weapon, not if he use it now?
« Last Edit: 25 Dec 2004, 17:03:29 by dius »

Offline Nemesis6

  • Members
  • *
Re:How many Bullets
« Reply #4 on: 25 Dec 2004, 17:14:07 »
(primaryWeapon unit) <-- Main weapon.
(secondaryWeapon unit) <-- RPGs, rocket launchers, whatever.
« Last Edit: 25 Dec 2004, 17:15:54 by Nemesis6 »
I am actually flying into a star... this is incredible!

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:How many Bullets
« Reply #5 on: 25 Dec 2004, 21:45:33 »
Quote
How i find out, what a Weapon the soldier use now?
Quote
(primaryWeapon unit) <-- Main weapon.
(secondaryWeapon unit) <-- RPGs, rocket launchers, whatever.

But that still doesn't tell you what weapon the unit is currently using. I don't think there is a good way to do that, I'm afraid.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

dius

  • Guest
Re:How many Bullets
« Reply #6 on: 26 Dec 2004, 12:56:58 »
@Nemesis6  thanks

@General Barron  i think the same that you think  ;) :-\