Help re triggers please - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 11-08-2018, 05:34 PM   #1
Irishlad200000
Junior Member
 
Irishlad200000's Avatar
 
Join Date: Jul 2012
Posts: 85
Default Help re triggers please

Hi guys

I am looking advice on the following.

How to end the mission on player aircraft shutdown. Doing a transport mission and want it to end when the player shuts down the heli after he rtb’s

Also is there a suitable trigger for troops finished loading that I can use a sound or text message?

Thanks

Gary


Sent from my iPhone using Tapatalk Pro


Sent from my iPhone using Tapatalk Pro
Irishlad200000 is offline   Reply With Quote
Old 11-09-2018, 01:10 AM   #2
Hardcard
Member
 
Hardcard's Avatar
 
Join Date: May 2013
Posts: 185
Default

I'd subscribe the chopper to an engine shutdown event and then use it to trigger mission end messages / stuff.

I've never tried that with a chopper, though. I'm not 100% sure it'll work, but I think it should.

Last edited by Hardcard; 11-09-2018 at 01:20 AM.
Hardcard is offline   Reply With Quote
Old 11-09-2018, 02:10 AM   #3
feefifofum
3rd Party Developer
 
feefifofum's Avatar
 
Join Date: Jan 2015
Location: USA
Posts: 2,676
Default

It should but it will also fire if the engine shuts down due to damage...maybe have the event handler toggle a flag and mate that with a check that the helo is actually at home plate.
feefifofum is offline   Reply With Quote
Old 11-09-2018, 10:18 AM   #4
Hardcard
Member
 
Hardcard's Avatar
 
Join Date: May 2013
Posts: 185
Default

Quote:
Originally Posted by feefifofum View Post
It should but it will also fire if the engine shuts down due to damage...maybe have the event handler toggle a flag and mate that with a check that the helo is actually at home plate.
Sure, flags, zone checks, mission specific functions, etc. should be used as well, in order to prevent undesired effects. I thought this was always implicit, my mistake
Hardcard is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:36 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.