AIDef:Action/LinkTagBaseAction: Difference between revisions
Jump to navigation
Jump to search
imported>Leoetlino |
imported>Leoetlino |
||
| Line 31: | Line 31: | ||
! Name !! Type !! Default value !! Description | ! Name !! Type !! Default value !! Description | ||
|- | |- | ||
| CheckType || Int || || | | CheckType || Int || || LinkTag type: | ||
* 0: And | |||
* 1: Or | |||
* 2: NAnd | |||
* 3: NOr | |||
* 4: XOr | |||
* 5: Count | |||
* 6: Pulse | |||
* 7: None | |||
|- | |- | ||
|} | |} | ||
== Derived definitions == | == Derived definitions == | ||
Revision as of 21:49, 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 | LinkTag type:
|
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 |