[SOLVED] Walk-To hotspot does nothing

Started by tobulos1, Tue 24/03/2015 17:51:00

Previous topic - Next topic

tobulos1

Hi!
I'm having problems walking on a hotspot. The hotspot itself is the ground, and I want to be able to move across it freely. But when I just regularly click on it, it does nothing. I can only use the other commands "Look-At", etc.
I have drawn a walkable area on the ground as well...

Any ideas?

Thanks!

Cassiebsg

Am not sure what the problem is, what exactly do you wish to do?

You say you have drawn a walkable area on the ground, are you sure you character is on the walkable area? If he's out of the area, even if it's only a pixel, then he won't be able to move.
try hitting Ctrl+W (shortcut to "teleport" to walkable area) and see if that helps, if it does, then your character is outside the walkable area.

Also, please mention which template you are using, as it's easier to help you out if we know what settings you are working with...
There are those who believe that life here began out there...

Monsieur OUXX

Couldn't it be a problem of the hotspot intercepting and consuming the "walk to" click? I'm not sure, I'm only just suggesting.

Here is the only scenario I can imagine: when you click on the hotspot, the game engine doesn't consider the click a "regular walk-to click" where all it has to do is to make the character walk to those exact coordinates using the pathfinder, but instead it considers it a "hotspot click", which means the engine's task is now to bring the character "as close as possible to that hotspot", using its built-in algorithms. Since the player is already on the hotspot, the engine considers the task is accomplished, and the player doesn't move. Could that make sense?
 

Cassiebsg

Again, that might make sense, depending on which template he's using.
I have a street on my game that is both a hotspot and a walkable area, and I have no such problem (using the default template).
BASS (2 click) template, might give problem, since it's designed to walk when it's NOT on a hotspot...
There are those who believe that life here began out there...

tobulos1

Sorry for the late reply,

I'm using the Verb-9 template, and if I have a hotspot on the ground (who is also a walkable area), whenever I press on it, my character won't move there. If I remove the hotspot, he walks there perfectly fine.
I hope I made myself more clear, thanks! :)

Cassiebsg

#5
I haven't worked with the 9-Verb template, but I have a feeling that Monsieur OUXX is right.

Try doing a if/else condition to check for the choosen active mouse mode to determine which click the engine should process...

If you can't figure it out, maybe someone more experienced than me can help you out with the needed code. ;)

EDIT: Also, check your General Settings -> Character movement... try fiddling with these settings and see if it makes any difference for what you wish to do.
There are those who believe that life here began out there...

Lasca

Depending on what you want the hotspot to do you could try using a region instead of a hotspot.

tobulos1

Quote from: Lasca on Sat 04/04/2015 07:28:25
Depending on what you want the hotspot to do you could try using a region instead of a hotspot.
Solved it, thanks!

SMF spam blocked by CleanTalk