OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: thepred on 06 May 2003, 19:22:13
-
How do I start a musictrack when picking up a weapon from an ammobox?? ???
-
:) well, if ya don't have any guns before taking the one from the crate
then try a simple trigger condition, like this :
playerName hasWeapon "M16"
or alike ;)
-
You could also maybe use the "someAmmo <unit>" command. That way it doesn't matter what weapon the unit picks up, so long as there's a weapon and some ammo for that weapon in the crate, it should work... :)