Skip to main content
Inspiring
December 12, 2025
Question

Very new, building first game

  • December 12, 2025
  • 5 replies
  • 204 views

Hi there, I'm building my first escape room with another person who has more knowledge than me but are not as available and I'm wanting to help with the scripting. I've generated all the assets but now would like to script the following: 12 objects that need to be put into a trigger area that either counts the objects or sends a message to each player how many objects have been found.

If someone could point me in the right direction to get started on this, that would be great.

5 replies

SeeingBlue
Honored Contributor
December 12, 2025

Trigger gizmos will fire codeblock events upon Entity entering and existing. You can use this to do an action in either case like counting the entities or whatever you need.

Upcoming Events : Performance Pro - UI Unleashed - Building Responsive & Performant Interfaces Thursday June 19th 5:00 PM PT - Register June Programming Calendar
Inspiring
December 12, 2025

I need to see how to do this though, which tutorial should I look at?

SeeingBlue
Honored Contributor
December 29, 2025

I don't know of any official tutorials that focus on this specifically but you should be able to find something related on Youtube.

Is this done in Codeblocks or TypeScript?

Upcoming Events : Performance Pro - UI Unleashed - Building Responsive & Performant Interfaces Thursday June 19th 5:00 PM PT - Register June Programming Calendar