SphereCommunity
How to force npc to attack another npc ? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: How to force npc to attack another npc ? (/Thread-How-to-force-npc-to-attack-another-npc)



How to force npc to attack another npc ? - Dullais - 05-21-2013 02:35 AM

Well, its all said in title, how do you do that ?


RE: How to force npc to attack another npc ? - Rizz - 05-21-2013 03:26 AM

attack <uid>


RE: How to force npc to attack another npc ? - Dullais - 05-21-2013 04:04 AM

(05-21-2013 03:26 AM)Rizz Wrote:  attack <uid>
that was easyer than i thought Big Grin But i have set on sphere to npc's cant attack other npc's.
Iam trying to make spider bow, that spawns a spider, that helps you kill the monster. mby there are way to make the spawned spider your pet ? Because SRC.OWNER is only readable command Sad


RE: How to force npc to attack another npc ? - darksun84 - 05-21-2013 04:19 AM

When the spider is created you have to equip it a memory item with the following properties

color |= memory_ipet //yep color!
link = the uid of the bow owner

maybe there are other properties but i don't remember .