AIDef:Action/SwitchPlayerEquipment: Difference between revisions

imported>Leoetlino
import AI definitions from 1.5.0
 
Nebroc (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{AIDef
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.{{AIDef
|name=SwitchPlayerEquipment
|name=SwitchPlayerEquipment
|type=Action
|type=Action
Line 8: Line 12:
! Name !! Type !! Default value !! Description
! Name !! Type !! Default value !! Description
|-
|-
| UnequipWeapon || Bool ||  ||  
| UnequipWeapon || Bool ||  || If true, unequips the Player's weapon
|-
|-
| UnequipShield || Bool ||  ||  
| UnequipShield || Bool ||  || If true, unequips the Player's shield
|-
|-
| UnequipBow || Bool ||  ||  
| UnequipBow || Bool ||  || If true, unequips the Player's bow
|-
|-
| UnequipArmorHead || Bool ||  ||  
| UnequipArmorHead || Bool ||  || If true, unequips the Player's head armor
|-
|-
| UnequipArmorUpper || Bool ||  ||  
| UnequipArmorUpper || Bool ||  || If true, unequips the Player's upper armor
|-
|-
| UnequipArmorLower || Bool ||  ||  
| UnequipArmorLower || Bool ||  || If true, unequips the Player's lower armor
|-
|-
| PorchItemName_Weapon || String ||  ||  
| PorchItemName_Weapon || String ||  || ID of the actor to set the equipped weapon to
|-
|-
| PorchItemName_Shield || String ||  ||  
| PorchItemName_Shield || String ||  || ID of the actor to set the equipped shield to
|-
|-
| PorchItemName_Bow || String ||  ||  
| PorchItemName_Bow || String ||  || ID of the actor to set the equipped bow to
|-
|-
| PorchItemName_ArmorHead || String ||  ||  
| PorchItemName_ArmorHead || String ||  || ID of the actor to set the equipped head armor to
|-
|-
| PorchItemName_ArmorUpper || String ||  ||  
| PorchItemName_ArmorUpper || String ||  || ID of the actor to set the equipped upper armor to
|-
|-
| PorchItemName_ArmorLower || String ||  ||  
| PorchItemName_ArmorLower || String ||  || ID of the actor to set the equipped lower armor to
|-
|-
| PorchItemName_Arrow || String ||  ||  
| PorchItemName_Arrow || String ||  || ID of the actor to set the equipped arrow to
|-
|-
|}
|}