Quote:
|
Originally Posted by rawrz
why not just use ai.obj? no need to manually add the pet to the DB...
Code:
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 2375 //Item ID of collar
push_const 1012077 //NPC id of pet (npc_pch)
func_call 196 // func[CreatePet]
shift_sp -3
shift_sp -1
|
Thanks for this cool example.. this help me alot.. I look on ai code for pet wolf