Home   Help Search Login Register  

Author Topic: detect out of ammo  (Read 443 times)

0 Members and 1 Guest are viewing this topic.

armymanbronson

  • Guest
detect out of ammo
« on: 20 Apr 2003, 18:34:47 »
hey guys , i was wondering doesnanyone know what or how to make a trigger or script that detects if the player is out of ammo then i want it to move to a cut scen after wards. any ideas?

brons

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:detect out of ammo
« Reply #1 on: 20 Apr 2003, 18:50:18 »
unit ammo magazine

Operand types:
unit: Object
magazine: String
Type of returned value:
Number
Description:
Count how many shots are left for given magazine type.

Example:
player ammo "M16"







someAmmo unit

Operand types:
unit: Object
Type of returned value:
Boolean
Description:
Check if unit has some ammo.

Example:
someAmmo vehicle player
« Last Edit: 20 Apr 2003, 18:51:17 by macguba »
Plenty of reviewed ArmA missions for you to play