Golf Posted February 8, 2015 Author Share Posted February 8, 2015 Please help.I added pet system with spells so pet(npc) can use spells randomly.Can someone please write down how can I use pet spells manually when i click on button or something ? ty :)Second problem is when I try to summon pet on the end of the map i get error ?Error code:```If MapNpc(mapnum).NPC(LoopI).IsPet = YES ThenIf Map(mapnum).Tile(x, y).Type = TILE_TYPE_WALKABLE Or Map(mapnum).Tile(x, y).Type = TILE_TYPE_NPCAVOID Or Map(mapnum).Tile(x,y).Type = TILE_TYPE_HEAL Then NpcTileIsOpen = True Exit Function End If End If``` 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