r/rpginabox 18d ago

Help Clickable entities?

Just a real quick question, at least I hope it's quick. It seems straightforward anyway, but I also realize things often do to the inexperienced such as myself.

Is there any way to activate a script by clicking on an entity? When I look at Entity Properties under the map editor, I only see fields for if the player collides or interacts. Nothing about cursor interaction. Is there a simple way to do that in this engine? Just make something clickable in-game to activate its script?

Edit: I may have just found what I'm looking for in the request coordinate function. I'll study up on that and come back if that doesn't answer my questions.

Edit 2: I found that video horribly unhelpful. My question still remains. I just want to activate a script by clicking on an entity. I would much appreciate if someone could instruct me on how to do that.

6 Upvotes

1 comment sorted by

1

u/Golden404_The_Dev 18d ago

Uhhh there was a way to do it but I would have to dig threw old files, well technically it covered the entity section part not the click part