_qor 11 Posted June 16, 2012 I want to let a trigger make a sound, if units reach the bottom after a parachute jump. How do I do that? I mean in regard to the trigger height. Share this post Link to post Share on other sites
Craig_VG 20 Posted June 17, 2012 In trigger condition put: this && {((getPosATL _x) select 2) < 2} count thislist > 0 That will activate the trigger when the units within it meet the triggers conditions and are under 2 meters of vertical height. Change it to: == 0 if you want exactly when they hit the ground. Share this post Link to post Share on other sites
_qor 11 Posted June 17, 2012 (edited) So I put the following into the condition-box of the trigger: spieler && {((getPosATL _x) select 2) ==0} count thislist > 0 but it doesnt work(Trigger condition: Activation if BLUFOR present). What am I doing wrong? Edited June 17, 2012 by _qoR Share this post Link to post Share on other sites
blackmamb 2 Posted June 17, 2012 What's spieler? And you seem to miss a space between == and 0. Share this post Link to post Share on other sites
_qor 11 Posted June 17, 2012 (edited) the name I named my player ;) what about the _x behind getPosATL? what does it stand for? Edited June 17, 2012 by _qoR Share this post Link to post Share on other sites
twirly 11 Posted June 17, 2012 And you seem to miss a space between == and 0. The space doesn't matter. Share this post Link to post Share on other sites
blackmamb 2 Posted June 18, 2012 (edited) Well that's good to know! ;) I was never sure about that but constantly tried to get everything correct with the spaces in case it would somehow mess things up. Anyway the name of the unit has nothing to do there. this, in the condition line, refers to a boolean (defined by the parameters you set up above: present, blufor). So you need to put in the exact code bobtom gave you. Unless you want that sound to be played only when that particular units touches the grounds, in which case this would do the trick. this && ((getPosATL spieler) select 2) < 2 Edit: Oh, and the _x refers to the current object being tested by the count command. Edited June 18, 2012 by BlackMamb Share this post Link to post Share on other sites