|
Josiah.Bruns Apprentice
Joined: 04 Mar 2007 Posts: 103
|
Posted: Fri Oct 30, 2009 1:23 am
is this the best way to move my char through a list of locations? |
Basically i have a string list called PathList and a counter called iPathList
inside my string list i have the values:
<.druegarsoldiers1>
<..druegarsoldiers1>
<.druegarsoldiers2>
<..druegarsoldiers2>
where druegarsoldiers1 and 2 are paths.
this is how i move:
#Step %item(@PathList,@iPathList)
then i increment my counter and return to the start location.
is this the best way to do this? |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Fri Oct 30, 2009 1:39 pm |
That method looks fine to me, except shouldn't you be using #slow instead of #step?
|
|
|
|
Josiah.Bruns Apprentice
Joined: 04 Mar 2007 Posts: 103
|
Posted: Fri Oct 30, 2009 2:36 pm |
#step works
is #slow better? |
|
|
|
|
|