Hello,
I'm new to AGS and hope that someon can help me.
I want that my character, who stands on hotspot 1, should do a script command I wrote by clicking on hotspot 2. I put the script in"Any click on hotspot", but this only works when the character uses some other mode but the walk mode. However, I also want that the script gets used by clicking with the Walk mode on the hotspot. So I tried to write in "Mouse moves over hotspot" mouse.DisableMode (eModeWalkto); and mouse.mode = eModeTalk (or something else) but this also doesn't work. Can someone tell me, how to do it?
In the General Settings there's a checkbox for making AGS treat the walk mode just as the look mode, but if you check it you'll need to do your own walk to command, using the on_mouse_click global function and the Character.Walk command.
Thank you very much, now it works. I think I have to learn to think in that big "Global Script" dimensions to make a game that somehow works. :)