46
Resolved Questions / SOLVED - Enemy Movement Behaviour Help Needed
« on: February 06, 2013, 08:28:45 am »
Hi! I'm having a small difficulty making a enemy movement behaviour for a top down action rpg game I'm making. I based it off the space shooter behaviour found in the starter kits. I added a random number generator to add variation to the enemies movement so I don't have to script a path (that'll be for the next behaviour). The problem is after the first movement change the enemy starts going "crazy" and changes it's movement direction multiple times per second, so I think the problem is somewhere in how I handle the random number.
Here's the behaviour. Thanks in advance for any help! I'm sure it's just a stupid tiny problem on my end.
Here's the behaviour. Thanks in advance for any help! I'm sure it's just a stupid tiny problem on my end.