help! how to make npc walk,and attack player
i created npc by the code successfully,but i cant walk and cant attack player. how to do it?anyone knows it? pls help me~
Code:
#include <amxmodx> |
Re: help! how to make npc walk,and attack player
You miss a lot of code. You should check some NPC tutorial and some related plugins. You have just done the easy part, spawning an entity.
You can't expect to handle walking/firing just with few lines of code. You should play instead with MonsterMod if you don't have much knowledege (which seems to be the case otherwise you won't ask here what to do). |
Re: help! how to make npc walk,and attack player
what you said is correct.but i google NPC code,i only can found some simple code,no much help,if you have some better code,can you give me some pls?
Quote:
|
Re: help! how to make npc walk,and attack player
Again, if you have no idea on what you're doing, just use something already done, like MonsterMod module. Also, doing in Pawn is really not recommended as it would very very inefficient.
|
| All times are GMT -4. The time now is 06:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.