weird mouse click problems

Started by Andail, Tue 20/05/2003 15:42:16

Previous topic - Next topic

Andail

Problem # 1:
Whenever I use a hotspot with an "any click"-interaction,
it only reacts to right-clicks.
I have fiddled alot with the on_click functions, so not much is left of the original settings. Left-click is assigned to walk to, right click look at.

Problem # 2:
Whenever the character uses an inventory item on something, after the script "releases" her, she instantly walks to a seemingly arbitrary location in the room. If I have a movecharacterblocking, the moment that function is over, she takes some steps away in another direction.

Any ideas?

Scorpiorus

#1
QuoteProblem # 1:
Whenever I use a hotspot with an "any click"-interaction,
it only reacts to right-clicks.
I have fiddled alot with the on_click functions, so not much is left of the original settings. Left-click is assigned to walk to, right click look at.
Hmm, seems it's because you assigned left-click as walk to. Hotspot anyclick event never occurs in case you use the walk mode.


QuoteProblem # 2:
Whenever the character uses an inventory item on something, after the script "releases" her, she instantly walks to a seemingly arbitrary location in the room. If I have a movecharacterblocking, the moment that function is over, she takes some steps away in another direction.
?Probably MoveCharacter() is triggered somehow? Maybe because you use left click both as walk and as use inventory. ::)


-Cheers

Andail

yeah, thanks Scorpius, that was pretty much it...
the weird thing was that the "walk to" was triggered all randomly...not precisely where I had clicked.
It is taken care of now anyway.

SMF spam blocked by CleanTalk