Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Help me find a sub


willunited
 Share

Recommended Posts

yes,it's at UpdateMapLogic sub,but i didn't found =\

i tryied choosing the "i = Int(Rnd * 2)" to i = Int(Rnd * 5) but nothing happens (im trying to make npcs more randomics)

> ' We could not move so Target must be behind something, walk randomly.
>
> If Not didwalk Then
>
> i = Int(Rnd * 2)
>
> If i = 1 Then
>
> i = Int(Rnd * 4)
>
> If CanNpcMove(mapnum, x, i) Then
>
> Call NpcMove(mapnum, x, i, MOVING_WALKING)
>
> End If
>
> End If
>
> End If
>
> End If
>
> Else
>
> i = Int(Rnd * 4)
>
> If i = 1 Then
>
> i = Int(Rnd * 4)
>
> If CanNpcMove(mapnum, x, i) Then
>
> Call NpcMove(mapnum, x, i, MOVING_WALKING)
>
> End If
>
> End If
>
> End If
>
> End If
>
> End If
>
> End If
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...