Creation/Dev/NPC weapon: Difference between revisions
From Graal Bible
DustyPorViva (talk | contribs) No edit summary |
|||
Line 1: | Line 1: | ||
An NPC that is a weapon(WNPC). Weapons are carried with the player in an inventory, so the scripts are accessible and functioning no matter what level they are in. WNPC scripts are used for a variety of things -- weapons that are fired, control systems(movement, custom displays), and simply a visual representation of an inventory item. | |||
=== Default Prefixes === | |||
{| border="0" cellpadding="2" width="40%" | |||
| '''Prefix''' | |||
| '''Usage''' | |||
|- | |||
| * | |||
| Disables the ability for the player to delete the weapon | |||
|- | |||
| - | |||
| Hides the weapon in the inventory. | |||
|- | |||
| xxx/ | |||
| Stores the weapon in an bag(name = xxx) in the inventory, for better organization. | |||
|- | |||
|} | |||
With custom weapon and inventory systems being more frequent, many have made their own prefixes and organization standards. |
Revision as of 16:50, 11 November 2008
An NPC that is a weapon(WNPC). Weapons are carried with the player in an inventory, so the scripts are accessible and functioning no matter what level they are in. WNPC scripts are used for a variety of things -- weapons that are fired, control systems(movement, custom displays), and simply a visual representation of an inventory item.
Default Prefixes
Prefix | Usage |
* | Disables the ability for the player to delete the weapon |
- | Hides the weapon in the inventory. |
xxx/ | Stores the weapon in an bag(name = xxx) in the inventory, for better organization. |
With custom weapon and inventory systems being more frequent, many have made their own prefixes and organization standards.