SRL Archive - OSR Help

Problem With RadialWalk


GREEN GIANT

2013-08-08 15:20:23

Hi Guys,

Basically i am using radialwalk to walk a specific path until it encounters an area where there are X amount of NPCS, it works fine 90% of the time but every so often i find that the NPCcheck has failed and so it is trying to walk to an area it cannot and so continuously tries to click the area to no avail.

Now, i cannot use any of the flag functions 'FlagPresent' 'walkingtoflag' as radialwalk has a flag built into it i think, and so if called after a radialwalk will always result false.

So, how can i check as to whether im moving or stood still etc in conjunction with radialwalk?

riwu

2013-08-08 20:28:02

IsMoving() uses pixelShift to detect if you are moving.
Best is to figure out why NPCcheck failed 10% of the time though.

GREEN GIANT

2013-08-09 15:39:08

From: riwu
IsMoving() uses pixelShift to detect if you are moving.
Best is to figure out why NPCcheck failed 10% of the time though.


I really don't know, i simply used the CountDots('yellow') function, there are at least 8 Dots on the screen and i set my limit at 5.

Although now that you mention it, i have it set at > 5 and not >= 5, ill try that and see how it runs.

Thanks for the input :)