Hi there! I'm trying to make an enemy move randomly around the map in its own little region. However, because I'm using some script calls, I have to use custom autonomous movement rather than just setting it to random.
I'd like the time between its random movements to be somewhat random, but I'm not sure how to do that in a script call. I've tried using:
But this appears to have no effect, the wait time between movements is the same every time. Here's a picture to show specifically what I'm trying to do.
I'd like the time between its random movements to be somewhat random, but I'm not sure how to do that in a script call. I've tried using:
Code:
this.wait(rand(300));
But this appears to have no effect, the wait time between movements is the same every time. Here's a picture to show specifically what I'm trying to do.