![]() |
[Help] NPC Against attacks
As to place the NPC's of the city aggressive ? for example, if some player to beat in it, it to beat in player? (Without leaving the place it is clearly) ^^
Grateful! :wave: |
Code:
|
if i put this, all npc when attacked, will attack? o nly need put this code in ai? or need insert for all npcs in ai?
sorry bad english. |
First you need - compile code
Second - insert handler attacked in the class you want, maybe insert in citizen class isnt a good idea, i have some problems with some quest npcs (in C1 times, actually im not using this) that fight each other or you have to hit for some reason... anyway is easy to exclude that npcs if you know what they are. Third - If you are going to use the "paralyze" mode you need to create the skill, or change iSkill for some that exist. |
Quote:
|
| All times are GMT. The time now is 15:27. |