Hello together,
is there any rule about setting frequency and speed of an walking npc.
I tried some settings but it looks "unnatural".
Do you have any tips?
Thanks
there are no rules because it always depends on what kind of movement you want.
Frequency tells how often the event moves - maximum frequency is on every occasion, lower frequencies give a chance to skip a movement opportunity.
Speed is how fast the movement is from one position to the next and while moving the event can't check for another movement.
you can set speed with decimal
$gamePlayer._moveSpeed = 3.25 ;
$gamePlayer._moveFrequency = 5.50;
I don't think there's any rule for that. For the setting, I usually set highest or higher frequency and x8 slower speed for walking NPCs.
ok thanks - that helps a lot.