OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: thepred on 06 May 2003, 19:22:13

Title: Music tracks
Post by: thepred on 06 May 2003, 19:22:13
How do I start a musictrack when picking up a weapon from an ammobox?? ???
Title: Re:Music tracks
Post by: Tomb on 06 May 2003, 23:50:11
 :) 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  ;)

 
Title: Re:Music tracks
Post by: nEO iNC on 07 May 2003, 09:16:14
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...  :)