Jump to content
Sign in to follow this  
Indomitus

UNDER REVIEW [YLD-19780] Make Car Trunk/Boot trigger Container event listener

Recommended Posts

Currently, the Car Trunk entities can be used as containers separate from a vehicle, but they don't trigger any Event Listeners that are specifically listening for Container events such as Open or Close.  Can that be changed to make them trigger Container events?

Share this post


Link to post
Share on other sites

Hi, I just tried that and it seems to be working. Do you have problem with any special entity?

Can you make a small game where you can present the problem?

Share this post


Link to post
Share on other sites

Sorry for the late reply.  I've been away from the game for some time.

I set up a simple scenario to demonstrate (not a full game idea, just showing the issue):

I put in a selection of different containers, and an Event Listener.

Ylands_191027_153337.thumb.png.57eb6a6a0e7029855de06815c2e3f2ef.png

The Event Listener is set to listen for players interacting with the Entity Class CONTAINERS.  It simply shows a Warning message with each event that is detected.

Ylands_191027_153419.png.9322d315c5affe568ff4b4cf3ef43dd8.png

Ylands_191027_153430.png.f4be7eac89f9871e321a6bc7ebd10329.png

 

The events will trigger when the chests are opened and closed, and when the player used "E" to open the coal basket or seed box.  They do not trigger for me when any of the Car Trunk entities are opened or closed.

I've attached the Scenario file (not exported).

 

CAR TRUNK CONTAINER DEMO.zip

Share this post


Link to post
Share on other sites

Thank you for your explanation. Now I see where the problem is.

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  

×