hisherwin Posted December 28, 2012 Author Share Posted December 28, 2012 Does anyone know how to make pet summoned next to you not on random map? Link to comment Share on other sites More sharing options...
Ryo Posted December 28, 2012 Share Posted December 28, 2012 Didn't test the pets systemBut because of this :Select Case GetPlayerDir(Index)Case DIR_UPCall SpawnNpc(PetSlot, PlayerMap, GetPlayerX(Index), GetPlayerY(Index) - 1)Case DIR_DOWNCall SpawnNpc(PetSlot, PlayerMap, GetPlayerX(Index), GetPlayerY(Index) + 1)Case DIR_LEFTCall SpawnNpc(PetSlot, PlayerMap, GetPlayerX(Index) + 1, GetPlayerY(Index))Case DIR_RIGHTCall SpawnNpc(PetSlot, PlayerMap, GetPlayerX(Index), GetPlayerY(Index) - 1)End SelectThe pet should be spawning next to you Link to comment Share on other sites More sharing options...
Guest Posted December 28, 2012 Share Posted December 28, 2012 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now