INpcs interface
public interface INpcs Where a Plugin gives NPC classes, through its context’s Npcs. A spawnable record names a class and a body; with the class registered, its body spawns with what the NpcClass says, and with none it stands as its body does.
context.Npcs.Register(ContentId.Parse("gmod:npc_zombie"), new NpcClass(50));
- Assembly
- EvilEngine.Api
- Commit
- 4ff877b1