Question about custom events

Hey all,

I seem to be misunderstanding something about either how custom events work, or how to trigger them with tell and call.

In my player script I have

on confirm do
	tell 5,5 to
		call reveal

Then in the script for the tile I have placed at 5,5, if I have

on reveal do
	say "hello"
	log "hello"

When I press ‘a’ while running the game, nothing happens. If this isn’t the correct way to trigger a custom event in a specific tile, what is? Or is this almost correct but I’m making some mistake I don’t see?

The call syntax is call “eventName”. The quotes around eventName are required.

1 Like

Thank you so much for the response, this was killing me.

1 Like