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

Pet System script (No Longer Beign Worked On)


Dennys
 Share

Recommended Posts

~~Hey guys im scripting a pet system which i plan to release, anyone wana help me? im trying to think of Ideas on how to make the Npc Follow you, Theoretical or Codes will help, I already got the Npc on the Map and i got it moving, now i just need a way to make it Follow the owner.~~
Link to comment
Share on other sites

  • Replies 417
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I'll help. I've deicded I was going to start my own but didn't start yet.

But for the npc following you you don't have to make it follow. Make a /heel command to make to jump back to your side. But you do have to include the way how to teleport the npc to the same map you are on.
Link to comment
Share on other sites

Well before I started I made a list of what was needed.
```
Npc Pet Script Requirements:
NpcvsNpc
A script which makes the pet follow the user
Using the weapon levelling script to make the pet level up.
Making the pet attack when you attack.
Check How many npc's are on map before summoning and if there are 15 don't allow the warp or summon continue.
On map load sub to do the above ^
Check if you have already gotten a pet out and if so then don't allow it to come.
A /unsummon command to make the pet go away
The pet to have stats which determine what it attacks.
A different coloured attack bubble for the pet's attacks.

```
Also, These codes should help
GetPlayerMap(Index)
ScriptSpawnNPC(MapNpcNum, MapNum, spawn_x, spawn_y, NpcNum)
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...