Jump to content

Trigger Region Script Issue


Recommended Posts

I was having an issue with a trigger region script, so I added an IF True() ... block into it and, to my surprise, the script fired on every cycle even when no one was standing on the trigger and it even kept firing when I entered a completely different area. Is that normal? Are trigger scripts always being evaluated when you enter a map? It works fine if I replace True() with Entered(), but I have no idea if the script is still firing in the background afterward. Does it break the loop once the condition is false? I just don't want to accidentally have a bunch of scripts running in the background for no reason.

Link to comment

Yeah, what caught me off guard was that the script kept running after I had already left the area. That was just weird.

But I do have a better idea of how trigger regions actually work now and I've completed the entire area without too much trouble.

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...