AIDef:Action/SwitchPlayerEquipment
Changes the equipped weapon, shield, bow, arrow and/or armor of the Player upon "reloading" the game (e.g opening and closing a menu).
To be equipped gear needs to be in the player's inventory.
Until the game is reloaded, this action has the side effect of leaving a copy of Link's model only featuring his naked legs and hair (with physics) always facing South at the Player's location when executing this action.
| AI definition | |
|---|---|
| Type | Action |
DynamicInstParams
| Name | Type | Default value | Description |
|---|---|---|---|
| UnequipWeapon | Bool | If true, unequips the Player's weapon | |
| UnequipShield | Bool | If true, unequips the Player's shield | |
| UnequipBow | Bool | If true, unequips the Player's bow | |
| UnequipArmorHead | Bool | If true, unequips the Player's head armor | |
| UnequipArmorUpper | Bool | If true, unequips the Player's upper armor | |
| UnequipArmorLower | Bool | If true, unequips the Player's lower armor | |
| PorchItemName_Weapon | String | ID of the actor to set the equipped weapon to | |
| PorchItemName_Shield | String | ID of the actor to set the equipped shield to | |
| PorchItemName_Bow | String | ID of the actor to set the equipped bow to | |
| PorchItemName_ArmorHead | String | ID of the actor to set the equipped head armor to | |
| PorchItemName_ArmorUpper | String | ID of the actor to set the equipped upper armor to | |
| PorchItemName_ArmorLower | String | ID of the actor to set the equipped lower armor to | |
| PorchItemName_Arrow | String | ID of the actor to set the equipped arrow to |
Derived definitions
Demo_SwitchPlayerEquipment (EventSystemActor)
No overridden parameters.