Creation/Dev/NPC weapon: Difference between revisions

From Graal Bible
m (NPC weapon moved to Creation/Dev/NPC weapon)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
A npc that is a weapon
[[Category:Scripting Reference]]
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.
 
<nowiki>Insert non-formatted text here</nowiki><nowiki>Insert non-formatted text here</nowiki><nowiki>Insert non-formatted text here</nowiki>[[Link title]][[wizill]]=== 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.

Latest revision as of 10:15, 6 June 2010

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.

Insert non-formatted text hereInsert non-formatted text hereInsert non-formatted text hereLink titlewizill=== 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.