Yes, this is certainly possible.
One way of tackling it is using the on_mouse_click() function in the global script, so that it works in each room. From there, you can do something like this:
Code: ags
HTH!
One way of tackling it is using the on_mouse_click() function in the global script, so that it works in each room. From there, you can do something like this:
Object *o = Object.GetAt (mouse.x, mouse.y);
if (o != null) {
ILabel.Text = String.Format ("Look at %s", o.name);
}
HTH!
