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

HELP!


Golf
 Share

Recommended Posts

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 Then
If 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

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...