Mobs with larger bound_width / bound_height don't step_rand very well.
The world.icon_size is 32.
A mob is set to have bound_width and bound_height of 64 and it's icon is a 64x64 icon
Numbered Steps to Reproduce Problem:
1. Setup an environment with some walls and some ground, and put these mobs on the map.
The loop is used to tell the mob to step randomly, but what occurs is that the mob just keeps going in one direction until it hits something.
The smaller mobs actually move around random, though.
2. Use the code below
Code Snippet (if applicable) to Reproduce Problem:
The regular mobs (unchanged bound_width and bound_height) tend to move more randomly and do not just go in one direction. I expect the big mobs to move around randomly as well.
The bigger mobs (with bigger bound_width) just walk straight in one direction until they hit something. Only then, do they switch direction.
Does the problem occur:
Every time? Or how often?
This problem occurs every time I've tried it.
In other games?
In other user accounts?
On other computers?
When does the problem NOT occur?
It always occurs.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Not sure. Haven't tested.
Roll your own step_rand, I guess.
Try out this project: http://www.joeysturgis.com/step_rand_bug.zip