AIDef:Action/LinkTagBaseAction: Difference between revisions
Jump to navigation
Jump to search
imported>Leoetlino import AI definitions from 1.5.0 |
imported>Leoetlino |
||
| Line 8: | Line 8: | ||
! Name !! Type !! Default value !! Description | ! Name !! Type !! Default value !! Description | ||
|- | |- | ||
| SaveFlag || String || || | | SaveFlag || String || || Save flag (optional) | ||
|- | |- | ||
| MakeSaveFlag || Int || 0 || | | MakeSaveFlag || Int || 0 || Which save flag to actually use: | ||
* 0: Use the specified SaveFlag. | |||
* 1: Use <code>Clear_%s</code> % (current map name). | |||
* 2: Use <code>Open_%s</code> % (closest dungeon name, based on the player's position). | |||
* 3: Use <code>MainField_%s_%u</code> % (object UnitConfigName, object HashId). | |||
|- | |- | ||
| IncrementSave || Bool || False || | | IncrementSave || Bool || False || Increment the GameData flag instead of setting or clearing it. If true, the GameData flag must be an s32 flag. | ||
|- | |- | ||
| NoChangeSignal || Bool || False || | | NoChangeSignal || Bool || False || | ||
|- | |- | ||
| SaveFlagOnOffType || Int || 0 || | | SaveFlagOnOffType || Int || 0 || Which action should be taken for boolean LinkTags with IncrementSave set to false: | ||
* 0: Set or clear the flag depending on the LinkTag type. (Set for LinkTagAnd, LinkTagNAnd, LinkTagXOr; Clear for LinkTagOr, LinkTagNOr and in any other case) | |||
* 1: Set the flag. | |||
* 2: Clear the flag. | |||
|- | |- | ||
|} | |} | ||
== StaticInstParams == | == StaticInstParams == | ||
Revision as of 21:35, 23 February 2019
| AI definition | |
|---|---|
| Type | Action |
MapUnitInstParams
| Name | Type | Default value | Description |
|---|---|---|---|
| SaveFlag | String | Save flag (optional) | |
| MakeSaveFlag | Int | 0 | Which save flag to actually use:
|
| IncrementSave | Bool | False | Increment the GameData flag instead of setting or clearing it. If true, the GameData flag must be an s32 flag. |
| NoChangeSignal | Bool | False | |
| SaveFlagOnOffType | Int | 0 | Which action should be taken for boolean LinkTags with IncrementSave set to false:
|
StaticInstParams
| Name | Type | Default value | Description |
|---|---|---|---|
| CheckType | Int |
Derived definitions
Root (LinkTagXOr)
| Name | Value |
|---|---|
| CheckType | 4 |
Root (LinkTagOr)
| Name | Value |
|---|---|
| CheckType | 1 |
Root (LinkTagNOr)
| Name | Value |
|---|---|
| CheckType | 3 |
Root (LinkTagAnd)
| Name | Value |
|---|---|
| CheckType | 0 |
Root (LinkTagNAnd)
| Name | Value |
|---|---|
| CheckType | 2 |