jandrews 117 Posted December 16, 2013 Hey all. Am thinking about having some custom music start once a heli engine is tuned on. Ideas? Share this post Link to post Share on other sites
zapat 56 Posted December 16, 2013 https://community.bistudio.com/wiki/isEngineOn Share this post Link to post Share on other sites
jandrews 117 Posted December 16, 2013 (edited) https://community.bistudio.com/wiki/isEngineOn May be I asked the wrong question. What I should have asked is.... How can I get a trigger to hit once a MP player turns the heli engine on. If its the same would I do something like: Place this in trigger Cond. line = isEngineOn "vehiclename" ?? Edited December 16, 2013 by JAndrews1 Share this post Link to post Share on other sites
jandrews 117 Posted December 16, 2013 or something like this in cond line of trigger? _OnOff = isEngineOn _vehiclename" _true = isEngineOn _blackfoot1 Share this post Link to post Share on other sites
f2k sel 164 Posted December 16, 2013 For engine check it would be isEngineOn vehiclename but it won't check if a player has turned it on just that the engine is on for that you would need to check the driver. That will check to see if the player is driver and engine on. But it still could have been turned on previous by AI isEngineOn vehiclename and driver vehiclename == player you also can't use the underscore _ as it will cause an error. Share this post Link to post Share on other sites
jandrews 117 Posted December 16, 2013 ok I will try that. Do I need to name "player". So isEngineOn Blackhawk1 and driver Blackhawk1 == "joe" for example. or leave it player? Share this post Link to post Share on other sites
f2k sel 164 Posted December 16, 2013 no leave as player only use a named unit to check a specific unit Share this post Link to post Share on other sites
jandrews 117 Posted December 17, 2013 that worked great thanks. the trigger starts music once the engine is turned on. pretty cool. Now the next question I have is I cannot get it to fade out. I guess I could trim the audio file, is there another way to have it fade besides using 1 fadeMusic 0? Share this post Link to post Share on other sites
zellyman 10 Posted December 18, 2013 What's your music volume in Description.ext? If it's too far from 0 fadeMusic won't affect it. Share this post Link to post Share on other sites
jandrews 117 Posted December 18, 2013 What's your music volume in Description.ext? If it's too far from 0 fadeMusic won't affect it. Hey its set to 1.0. I had placed the 1 fadeMusic 0; into another trigger Act line and it worked once. Share this post Link to post Share on other sites