Hi everyone. Due to the lack of updates, AdventureCraft wiki will halt all image uploads and page edits until a recent update has been released. We thank you for your support for the past years to keep this mod alive. For now, feel free to see other maps created by previous users. ~User:System
- Login or register to hide this ad -

NPC

From AdventureCraft

Jump to: navigation, search
NPC
NPC.png
Type Mob
Health ?
Attack Strength ?


An NPC, or non-player character, is an entity in AdventureCraft. It's a player model standing still, with a selectable skin. It can be configured to say a message when clicked on, and can have a name. NPCs are removed when using the removemobs command. When moved away from their location, NPCs will begin walking back to it, and if they are moved too far away, will teleport back.

Contents

Notes

The future version has come, and now you can make NPCs follow a path, and have scripts for being attacked, upon being created, when attacked, when killed, etc.

NPC folder

The npc folder is a subfolder of a map, that you must create, which holds all the npc skins which the map has access to. To use a skin, copy the .png file into your npc folder. The directory format is:

AdventureCraft Folder/maps/Your Map/npc

Scripting

Several NPC scripts can be set using the NPC stick:

These scripts can be selected from those saved in the 'scripts' folder.

Bugs

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox