For details on match triggers and capability flags, see:
-
Document Client Programming Guide's section Scripting → Functional components → Action Matcher.
-
Document Content Tools Reference Guide's section Model Editor → Actions panel → Action Triggers dialog box.
-
This chapter's .model.
Used to create alias for entity capabilities (which are then used to
trigger or cancel actions by Action Matcher), and located under
fantasydemo/res/scripts/common
, the grammar of
capabilities.xml
is described below:
<capabilities.xml> *<state>integer
<name>string
</name> <id>string
</id> </state> </capabilities.xml>
Grammar of fantasydemo/res/scripts/common/capabilities.xml
The list below describes the tags in flags.xml:
-
id
Python-safe name of the capability, which can be used in scripts.
-
name
Name of the capability.
-
state
Number representing the capability bit, integer in the range 0 - 31.