OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SFG on 12 Nov 2002, 23:57:58

Title: Check if Weapons been fired
Post by: SFG on 12 Nov 2002, 23:57:58
I got an Russian AT soldier firing .. what i want is to check when its been fired. Any ideas? :)
Title: Re:Check if Weapons been fired
Post by: seanver on 13 Nov 2002, 00:15:19
Yeah. Put in a trigger's codition line:

unit ammo "AT4Launcher" < 1

So now when the ammo that the unit has is less than 1 (so there are no more rockets) the trigger will be activated.

I don't know if you meant the AT Launcher or the RPG.

The AT Launcher's name is, in the game, AT4Launcher.

The RPG's name is RPGLauncher.