Quote:
Originally Posted by [GM]Death[PM]
I think I have asked this once before but I could not locate what I was looking for. I'm trying to find out how to remove a NPC, How ever I am stumped on the part of how exactly to remove a NPC. If some one could comment with out flaming or if there is a post over this specific topic send me it and leave it at that. Thank you have a nice day.
|
I've found the most useful way to remove an npc is to create an action code with the following
Type = 126 Data = 0 Param = "NPC ID: %id"
Then tie this action id to the npc in question if you're not sure how to do that you can do it for all by doing the following:
Code:
insert into cq_action
values
(7,0,0,126,0,'NPC ID: %id');
update cq_task
set
id_next = 7;
Be sure to back up your cq_task table first though to replace it afterwards.
As this will make EVERY task run that id.