This is probably simple, but I cannot figure it out.
I'm using the Lucas Arts template and want to cover the whole floor in a room with different hotspots. The reason is that some of the hotspots are usable with items, but I don't want to give away these locations by being the only hotspots visible.
The problem is that the character now never moves anywhere, when I click goto and on the floor. I also don't want a fixed point as walk to, but the current cursor position.
Any ideas?
Add this to each of the hotspots:
(else) if (UsedAction(eMA_WalkTo)) {
player.Walk(mouse.x, mouse.y);
}
Thanks! Works like a charm
I couldn't find that command (probably because I thought it would start with eGA_ ). So I tried with mouse.Mode but that didn't help.
Is there a reason this has eMA as prefix and not eGA?
Yes, it's a Meta action, as opposed to a GUI action.
All available actions are listed when you type "UsedAction(".