Forum rules - please read before posting.

DoT in Background

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

https://imgur.com/a/JKggOd1

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:

    • Inventory: Check
    • Variable: Check
    • Variable: Set
    • Engine: Wait

    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.

  • edited December 2023

    @ChrisIceBox Thank you it works :D

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.