I have one bug in the game that I'm not able to solve and I don't know why. Maybe someone can help me
I created this simple action that is called when the player do a "double click" with the mouse in order to let the character run.
if CHARACTER_IS_NOT_RUNNING is TRUE
change condition CHARACTER_IS_NOT_RUNNING to FALSE
change character speed of 'Current character' to 400
wait until character 'Current character' stops
change condition CHARACTER_IS_NOT_RUNNING to TRUE
change character speed of 'Current character' to 100
quit current action
else
end if
I also activated the action stop character 'Current character' when a scene ends and a menu is called.
It works without problems in-game.
The problem is when the player saves the game, quits the game and then reload the savegame.
The issue is that:
- if the character was running when the savegame was created, when I load the savegame the character runs only and he doesn't walk anymore.
- if the character wasn't walking at all when the savegame was created, when I load the savegame the character walks only and he doesn't run anymore.
What could be the issue?
Is there any other way to change the speed of the character during a "double click" of the mouse in order to let him run and then change it back to a normal walk speed when the character stops?
(I use Visionaire 3.7 build 1147)