Jump to content
Sign in to follow this  
Belial0harvester

Detection of a prop object

Recommended Posts

Hello there,


I have been looking for a solution all day long yesterday without success, so I have to ask the question here.
 

In a scenario, I wanted a few things to happen when a slinged container (lets call it "box") is in a trigger, but It wont work.

The first thing that I dont undersand is that to be able to use this condition

box in thisList 

I also have to check for presence and use a condition field such as :

 

this && box in thisList

The second thing is it only works if "box" is either a unit or a vehicle with a unit inside.

If I put an empty vehicle, the trigger activates only if I board it.

 

Its like props, vehicles etc are not considered objects as long as they aren't somehow associated with a unit.

Does anyone know how to detect a mere object in a trigger area?

Thanks in advance 🙂

Regards,

Share this post


Link to post
Share on other sites

The condition "this && box in thisList" should be accurate.

 

The contents of thisList should depend on the trigger's activation.

For example, if a trigger is set with the condition "any player" and "present," only players will be included in thisList.

For objects, I believe the conditions were "ANY" and "present."

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Thanks for your reply.

Sorry, I was inaccurate.

I meant to say for the condition "box in thisList" to be taken into account, I have to set a condition such as BLUFOR present then in the condition field add "this && box in thisList", but still, it will only work if "box" is a unit or a vehicle with a unit onboard, not an inanimate object such as a prop.

Share this post


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

The condition "this && box in thisList" should be accurate.

 

The contents of thisList should depend on the trigger's activation.

For example, if a trigger is set with the condition "any player" and "present," only players will be included in thisList.

For objects, I believe the conditions were "ANY" and "present."


You were right, I set the condition to "ANYBODY" "present" and now it works, thanks alot 🙂

  • Like 1

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  

×