AIDef:Action/LinkTagBaseAction: Difference between revisions
Jump to navigation
Jump to search
→MapUnitInstParams: MakeSaveFlag 3 flag name contents |
→MapUnitInstParams: Fix MakeSaveFlag 3 for clarity |
||
| Line 14: | Line 14: | ||
* 1: Use <code>Clear_%s</code> % (current map name). | * 1: Use <code>Clear_%s</code> % (current map name). | ||
* 2: Use <code>Open_%s</code> % (closest dungeon name, based on the player's position). | * 2: Use <code>Open_%s</code> % (closest dungeon name, based on the player's position). | ||
* 3: Use <code>%s_%s_%u</code> % ( | * 3: Use <code>%s_%s_%u</code> % (GameDataMgr's current MapType<ref>0x7100DD2D64, 0x71009108DC, 0x7100910D58</ref>, object UnitConfigName, object HashId). | ||
|- | |- | ||
| IncrementSave || Bool || False || Increment the GameData flag instead of setting or clearing it<ref>0x7100D38820</ref>. If true, the GameData flag must be an s32 flag. | | IncrementSave || Bool || False || Increment the GameData flag instead of setting or clearing it<ref>0x7100D38820</ref>. If true, the GameData flag must be an s32 flag. | ||
Latest revision as of 00:25, 18 October 2020
| AI definition | |
|---|---|
| Type | Action |
MapUnitInstParams
| Name | Type | Default value | Description |
|---|---|---|---|
| SaveFlag | String | Save flag (optional) | |
| MakeSaveFlag | Int | 0 | Which save flag to actually use[1][2]:
|
| IncrementSave | Bool | False | Increment the GameData flag instead of setting or clearing it[4]. 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:[5][check]
|
StaticInstParams
| Name | Type | Default value | Description |
|---|---|---|---|
| CheckType | Int | LinkTag type[6]:
|
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 |