MPAC

From HEWIKI
Revision as of 14:25, 20 June 2011 by HE-NICK (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Modify Prototype, Add Classes

MPAC <prototype name|ID>, <class>;

Arguments

<prototype name|ID> 
Specifies name of the prototype or its numeric identifier, for the prototype to be modified.
<class> 
The name of a class of fields to add to this particular prototype.

Description

This is a CLI command that adds a class to a prototype. A class is a collection of fields. If fields are being added to the node that already pre-exist on that node, then the values of the existing fields are not changed. Ohter new fields that are added will have an initial value of zero or NULL.

Though multiple classes can be added to the same prototype, only one class at a time can be added with this command.

Example

By Name

: MPAC npc, magic

By Prototype ID

: MPAC 2, magic
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox