Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger areas are not disabled when an ESCItem becomes inactive / non-interactive #372

Open
balloonpopper opened this issue Oct 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@balloonpopper
Copy link

Please make sure you talk to the community before creating an issue.

Describe the bug
As discussed on discord 14/10

[17:27]Tootle: Hey @StraToN I just posted this in the cfg-interpreter channel, but I'll repost the relevant bit here so you don't have to read pages of text.
In my game, I a trigger area that cause a script to run for an NPC. I have a problem at the moment as in the script, the NPC walks through their own trigger area after my player has, causing the associated script to queue a second time. I tried turning off both "active" and "interactive" for the trigger areas (ESCItems), but that doesn't stop the trigger areas from triggering. What is your opinion on whether the commands should disable trigger areas from firing please?

[08:50]StraToN: I totally agree with you, trigger area should be disabled both if inactive or not interactive. In fact I am kind of surprised this is not the case :/

To Reproduce
Create an ESCItem
Use a script to turn it inactive or non-interactive
Inspect the state of the collision shapes attached to the object

Expected behavior
Inactive / non-interactive objects should no longer be affected by gameplay actions (e.g. player walking into a disabled trigger area)

Versions

  • Escoria: Current
  • Godot: 3.5
@balloonpopper balloonpopper added the bug Something isn't working label Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant