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

Pet Help


hisherwin
 Share

Recommended Posts

Didn't test the pets system

But because of this :

Select Case GetPlayerDir(Index)

Case DIR_UP

Call SpawnNpc(PetSlot, PlayerMap, GetPlayerX(Index), GetPlayerY(Index) - 1)

Case DIR_DOWN

Call SpawnNpc(PetSlot, PlayerMap, GetPlayerX(Index), GetPlayerY(Index) + 1)

Case DIR_LEFT

Call SpawnNpc(PetSlot, PlayerMap, GetPlayerX(Index) + 1, GetPlayerY(Index))

Case DIR_RIGHT

Call SpawnNpc(PetSlot, PlayerMap, GetPlayerX(Index), GetPlayerY(Index) - 1)

End Select

The pet should be spawning next to you
Link to comment
Share on other sites

What went through your mind when creating this post? "Oh this is the Tutorials board where people post tutorials, there's a Q/A board where people post questions but this seems like a reasonable place to post."
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...