X2 ip addprop policy
From NWN Lexicon
Jump to navigationJump to searchX2_IP_ADDPROP_POLICY_* Constant Group
These constants are only available if you include x2_inc_itemprop in your script. They are used in the IPSafeAddItemProperty command in the same include file and determine what should happen when adding a type of itemproperty to an item that already has one of that type.
Requirements
#include "x2_inc_itemprop"
Constants
Constant | Value | Description | |
---|---|---|---|
X2_IP_ADDPROP_POLICY_IGNORE_EXISTING | 2 |
| |
X2_IP_ADDPROP_POLICY_KEEP_EXISTING | 1 |
| |
X2_IP_ADDPROP_POLICY_REPLACE_EXISTING | 0 |
|
See Also
functions: |