This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION:WotlK] Follower NPC  (Read 1407 times)

Nupper

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 339
    • View Profile
[QUESTION:WotlK] Follower NPC
« on: August 26, 2015, 04:57:25 pm »
I am trying to create a spell much like the warlocks void walker or a bodyguard type spell...
but all the spells i can find to copy either has limits or can be spawned more than once.....I am trying to see if there is a spell that i can copy that will allow me to summon an NPC to fight my side without the restriction and will only spawn once untill dismissed.

Much like the companion pet spells but for combat NPCS
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Nupper

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 339
    • View Profile
Re: [QUESTION:WotlK] Follower NPC
« Reply #1 on: August 27, 2015, 09:24:39 am »
Bump
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

madguy

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: [QUESTION:WotlK] Follower NPC
« Reply #2 on: August 27, 2015, 01:29:47 pm »
Did you check existing NPC-Used spells? For exemple, i believe near booty bay there are pirate warlocks that summon a voidwalker pet, go check in smart_scripts the spell
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Kaev

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 308
    • View Profile
Re: [QUESTION:WotlK] Follower NPC
« Reply #3 on: August 27, 2015, 07:54:49 pm »
Not sure, but i would bet that they aren't actually spells but spawned creatures with pet AI or something like that.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Nupper

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 339
    • View Profile
Re: [QUESTION:WotlK] Follower NPC
« Reply #4 on: August 27, 2015, 08:59:03 pm »
Quote from: "Kaev"
Not sure, but i would bet that they aren't actually spells but spawned creatures with pet AI or something like that.

 I know you must have database entry for the creatures your spawning but i don't need Pet AI...
Just able to summon and dismiss and will only spawn once until dismissed...Like chompanion pets just don't want it in the pets tab.
As i want the warlocks or hunters to be able to keep there pets as well.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

MountainLion

  • Moderators
  • Loreweaver
  • *****
  • Posts: 93
    • View Profile
Re: [QUESTION:WotlK] Follower NPC
« Reply #5 on: August 28, 2015, 03:21:04 am »
Quote from: "Nupper"
I am trying to create a spell much like the warlocks void walker or a bodyguard type spell...
but all the spells i can find to copy either has limits or can be spawned more than once.....I am trying to see if there is a spell that i can copy that will allow me to summon an NPC to fight my side without the restriction and will only spawn once untill dismissed.

Much like the companion pet spells but for combat NPCS

You are looking for a "guardian npc". What I can think of is: Create a new spell that's based off another one similar to what you want it to do, script a creature guardian to summon/despawn manually. Good luck.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Kaev

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 308
    • View Profile
Re: [QUESTION:WotlK] Follower NPC
« Reply #6 on: August 28, 2015, 08:04:10 am »
Quote from: "Nupper"
Quote from: "Kaev"
Not sure, but i would bet that they aren't actually spells but spawned creatures with pet AI or something like that.

 I know you must have database entry for the creatures your spawning but i don't need Pet AI...
Just able to summon and dismiss and will only spawn once until dismissed...Like chompanion pets just don't want it in the pets tab.
As i want the warlocks or hunters to be able to keep there pets as well.
With pet AI i didn't ment the player pets which are just there to show off.

I actually ment that you should look how they did the pets - the ones who assist you in a fight and so on - on the server side code.
There are pet classes, e.g. PetHandler (this will probably the main part of the pet AI that i ment) and so on.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Nupper

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 339
    • View Profile
Re: [QUESTION:WotlK] Follower NPC
« Reply #7 on: August 29, 2015, 10:49:32 am »
Quote from: "Kaev"
Quote from: "Nupper"
Quote from: "Kaev"
Not sure, but i would bet that they aren't actually spells but spawned creatures with pet AI or something like that.

 I know you must have database entry for the creatures your spawning but i don't need Pet AI...
Just able to summon and dismiss and will only spawn once until dismissed...Like chompanion pets just don't want it in the pets tab.
As i want the warlocks or hunters to be able to keep there pets as well.
With pet AI i didn't ment the player pets which are just there to show off.

I actually ment that you should look how they did the pets - the ones who assist you in a fight and so on - on the server side code.
There are pet classes, e.g. PetHandler (this will probably the main part of the pet AI that i ment) and so on.

I really trying to figure how to prevent Multi-able spawns.. like One spawn and thats it.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »