hello, I work on a scifi game. When Player does not have Helmet in inventory he should get Damage over Time. I made a trigger, run in Background with the following action. But it only substract - 10 and nothing more
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
I put conntection to 1 like you mentioned but still only run once
What are your AC/Unity versions?
As your Trigger is set to Continuous, the Actions should be designed to run once (i.e. no looping), with the expectation for it to be run again if the Player is still inside.
Re-order your Actions so that it runs in the order:
And stopping the list after the latter. If the Player is within the Trigger after it completes, the ActionList should restart and run again.
Unity 2022.3.15f1 and latest AC version. Thank you I try that.
@ChrisIceBox Thank you it works