Jump to content
Sign in to follow this  
stburr91

Trigger not detecting player in vehicle

Recommended Posts

Alright, I'm having a problem, my triggers are not detecting the player when sitting on the Hummingbird bench. Triggers are set to activate when any player is present. If I get out of the helicopter, the trigger fires, so I know the trigger works. 

 

I know that I've gotten triggers to fire before when the player is riding on the heli bench, so I'm not sure what's going on.

 

My SP mission starts with controlling one unit set as the player in the editor. The mission then requires that you switch to another unit to complete the rest of the mission.  When switching to the other unit, and that unit becomes the player, I then want the trigger to fire. 

 

Any thoughts? 

 

I'm using dev branch, so maybe that's it. I know

Share this post


Link to post
Share on other sites
49 minutes ago, Harzach said:

vehicle player in thislist

This topic belongs in Editing & Scripting, btw.

I don't know that that means, can you please give more details, I don't know anything about how the "vehicle player in thislist" works. 

 

Maybe mods can move this to the proper section. 

Share this post


Link to post
Share on other sites

Ah, sorry. It's a condition for your trigger. Your trigger condition field would then be:

 

this && vehicle player in thislist

 

Share this post


Link to post
Share on other sites

It's entirely possible your trigger isn't wide enough and the helicopter flies through it so fast it doesn't trip it. I had the same issue with players in a c130. 

 

Didn't need any fancy script, just made the trigger a few hundred meters wide (we were flying at 400+ though so your trigger won't have to be that much bigger)

Share this post


Link to post
Share on other sites
11 hours ago, Harzach said:

Ah, sorry. It's a condition for your trigger. Your trigger condition field would then be:

 


this && vehicle player in thislist

 

 

It's not working. It still only fires the trigger when I get out of the helicopter. 

 

This is what I have that is not working.

 

2sajwq8.jpg

 

 

2r40wh2.jpg

 

Share this post


Link to post
Share on other sites

It might have something to do with changing units? Or I might be missing something more obvious (it happens). I'll try some things out later, but someone smarter might have an answer for you in the meantime.

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, Harzach said:

It might have something to do with changing units? Or I might be missing something more obvious (it happens). I'll try some things out later, but someone smarter might have an answer for you in the meantime.

 

Thanks for trying to help, I really do appreciate those willing to jump in, and help out when someones asks. 

 

However, I figured out another way around the problem, I spent too many hours on this now, so I need to move on. 

 

I love Arma, but stuff like this drives me crazy, and can almost ruin the game sometimes.   

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×