Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
jandrews

trigger to start with heli engine on?

Recommended Posts

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

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 by JAndrews1

Share this post


Link to post
Share on other sites

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

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

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

no leave as player only use a named unit to check a specific unit

Share this post


Link to post
Share on other sites

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

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
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
Sign in to follow this  

×