OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: armymanbronson 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
-
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