Hello!
I have a weired problem with the "Autonomous Movement" Customized.
I have a few wolves (5-6) walking around on the map with customized route.
This is an exemple:
START:
Move At Random
Move At Random
Move At Random
Move At Random
Move At Random
Wait 60
Move At Random
Move At Random
Wait 120
Move At Random
Move At Random
Move At Random
...
...
Wait60
total of 45 lines
END:
Repeat Action (ON).
Skip If Cannot Move (ON).
The probleme is the event stop to move at a random line
and will never move again.
The most curious is that if I "replay test" the same event will not stop at the same line
or can move perfectely.
Should I make an event parrallel process route for every monsters on the map?
I dont want to put to much events on the map, cause I'm afraid that cause frame rate down.
Thanks in advance.
Uncheck Skip if Cannot Move and see if it makes a difference.
Don't use parallel process.
I have a few maps to test.
On a map "It looks OK" but because it's random
I prefere to do a large test before to say "solved".
Question:
In some setted routes, I've setted like that:
...
Move At Random
Wait 60
Move At Random
Move At Random
Wait 30
Wait 30
Wait 30
Wait 30
Move At Random
...
Sould I remove wait 30x4 and insert a wait 120 to minimize the route system reading effort?
It really doesn't make a difference, so do it at your wish. So, it works now?
Doesn't matter whether you say wait 120 or wait 30 four times.
OK thanks for the Wait question.
I found 2 events which stop frequently, checking if it's not my fault.
By the way if I attack them ( the event goes to another page for battle )
when if I win or flee the battle, the event goes back to the page with the route
and it moves again.
EDIT: just tried, the 2 events looks to be "connected" when 1 stops, the other one will stop too.
After battle win or flee, they move again, but will stop again later.
🙂
For they to not stop each move, you must change the Frequency to 5.
If it's not intended, then you must enable a switch after you win or flee in the battle, and make another page in which you enable that switch and make whatever you want to happen after you win/flee.
Maybe it's because they use the same switch?
Each monster event has own proper switches.
Page 1 is virgin to show nothing when I have to hide my monsters for some raison, ( cut scene, ...)
Page 2 is the route page with code that check if I attack from back or side and no switches that care with the route.
I made a sight detection which just active an AGGRO switch which moves to next page of the monster to follow
hero and jumps on him/her if close.
Again nothin that can affect the route on page 2.
I thought to make another post for another problem, but it could be linked.
Sometimes, pages dont respect the "Wait for Completion"
and read directely what is next.
If you leave the battle, the monster must flash a few seconde and not moving
to let the time to hero to move away.
So I inserted that if you leave the fight condition:
START
Set move route -> This Event: "Wolf A" -> Wait for Completion
Through ON
Wait 45
Transparent ON
Wait 40
Transparent OFF
Wait 30
Transparent ON
Wait 15
Transparent OFF
Wait 10
Transparent ON
...
...
Through OFF
END
Bottom of the page:
LOCAL SWITCH A OFF
###########################################
But the switch is directely activated and not showing the flash effect.
But if I write it like that, it works:
###########################################
START
Set move route -> This Event: "Wolf A" -> Wait for Completion
Through ON
Wait 45
Set move route -> This Event: "Wolf A" -> Wait for Completion
Transparent ON
Wait 40
Set move route -> This Event: "Wolf A" -> Wait for Completion
Transparent OFF
Wait 30
Set move route -> This Event: "Wolf A" -> Wait for Completion
Transparent ON
Wait 15
Set move route -> This Event: "Wolf A" -> Wait for Completion
Transparent OFF
Wait 10
Set move route -> This Event: "Wolf A" -> Wait for Completion
Transparent ON
...
...
END
Bottom of the page:
LOCAL SWITCH A OFF
My head's about to explode.
EDIT: They are all 5 frequency
I thought the issue was that they stop and they don't start again. At all.
Yes, if it's a case of changing event pages using a switch, and they all use the same switch, then that will affect all of them.
Can you post actual screenshots of your event - both pages, showing the full event window?
It takes WAY longer for you to explain it all, and you're bound to miss important things.
No no.
They stop without any kind of action on them.
I just watch them moving around without any action, and they just suddenly stop.
The page2 where the route is setted never changed.
And all my monsters have proper switches to avoid any conflict.
Wolf A has AGGRO A switch
Wolf B has AGGRO B switch... ...
But I repeat. I just start to test "F12" save it and just watching them moving till they stop.
EDIT: My soft is in french, your head will explode before mine 😛
Do it anyway - we have French-speaking members, and the boxes are usually in the same place 😉
Don't use F12.
Do you have any other scripts that you've added or modified?
Well, it's realy weired. It was like the only 2 events which stuck.
I simpely copy a setted route from a map where monsters move well and pasted it
on them. Watched them moving for about 5 minutes and no problem.
Just lucky or what, I dont know.
EDIT: I logout, have to rest. Will check forum later or tomorrow.