In Unity 2018.3.9 using Adventure Creator 1.67.4, I'm encountering a problem in which global variables of integers and floats that are supposed to have their values set (or increased) upon objects entering triggers, are actually changing their value instantly upon gameplay starting.
Also, the variable value is only altered when using Rigidbody Collision Detection Method and not the new Transform Position (which is otherwise very useful btw, thanks to Chris for that one).
Edit: It seems the auto-updating of values on start is only happening if the Detection Method is set to Rigidbody Collision set to detect Any Object. It works as intended if you use a set object e.g player.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Perhaps the Trigger is detecting some unintended object, then? As it's possible to pass the detected GameObject as a parameter to the Trigger's Actions, you could find out what's triggering it by using the [param:0] token in the ActionList: Comment Action.
Ha, it was the "Field of View" of an Emerald AI.