Thread
:
[API] Custom Entities
View Single Post
Hedgehog Fog
Senior Member
Join Date: Jun 2010
Location: Ukraine
11-03-2016 , 17:52 Re: [API] Custom Entities
#
6
EFFx
If you talking about npc preset, it's just a basics setups for npc (private data) like movetype, solidtype, takedamage etc.
If you wanna make something like npc, you need to add hook for think, make first think in spawn event for entity and set pev_nextthink every think event.
In think event you need make some npc logic, like target finding and attack.
__________________
❄️ CS Snow Wars
- Mod based on snowballs fights
🧟 CS Zombie Panic
- A port of HL Zombie Panic!
🎃 CS Halloween Mod
- Completely new gamemode for Halloween Holidays
📦 AMXXPack
- CLI and build system for amxx projects
🔧 Custom Entities API
- API to register custom entities
Last edited by Hedgehog Fog; 11-03-2016 at
18:05
.
Hedgehog Fog
View Public Profile
Send a private message to Hedgehog Fog
Visit Hedgehog Fog's homepage!
Find More Posts by Hedgehog Fog