View Single Post
Old 05.09.2005, 20:59   #9
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

hmm I simply dont know where to start.. how start write code to ai.obj
I look in ai for your code.. its part of quest.. I dont need any quest..
I simply need ai for item that summon pet.. maybe this will work?
Code:
class pet_wolf_b : pet_physicalattack
shift_sp 1
   push_event   //  talker
   push_const 32
   add
   fetch_i
   push_const 5592 //Item ID of collar
   push_const 1001121 //NPC id of pet (npc_pch)
   func_call 196   //  func[CreatePet]
   shift_sp -3
   shift_sp -1 
class_end
I simply dont know where to paste in my ai.obj code about new wolf collar (I used advanced cp potion) .. function about summoning that pet
rodier is offline