AIDef:Action/KillSelectActor: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
No edit summary
Nebroc (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
}}
}}
Deletes all actors with the specified actor name and unique name. Does a system delete; no drops or effects will be emitted.
Deletes all actors with the specified actor name and unique name. Does a system delete; no drops or effects will be emitted.
Deleting the Player (GameROMPlayer) this way breaks the game, you can no longer move Link or the camera, the sound meter acts randomly, Link appears without hair and clothes in inventory and some actions like trying to reload a save cause the game to crash.


== DynamicInstParams ==
== DynamicInstParams ==
Line 9: Line 11:
! Name !! Type !! Default value !! Description
! Name !! Type !! Default value !! Description
|-
|-
| ActorName || String ||  ||  
| ActorName || String ||  || ID of the actor to kill
|-
|-
| UniqueName || String ||  ||  
| UniqueName || String ||  || Optional, used when an actor can have multiple instances on the map loaded at once, probably refers to the UniqueName parameter {{Check}}
|-
|-
|}
|}

Latest revision as of 12:21, 24 October 2026

KillSelectActor
AI definition
Type Action

Deletes all actors with the specified actor name and unique name. Does a system delete; no drops or effects will be emitted.

Deleting the Player (GameROMPlayer) this way breaks the game, you can no longer move Link or the camera, the sound meter acts randomly, Link appears without hair and clothes in inventory and some actions like trying to reload a save cause the game to crash.

DynamicInstParams

Name Type Default value Description
ActorName String ID of the actor to kill
UniqueName String Optional, used when an actor can have multiple instances on the map loaded at once, probably refers to the UniqueName parameter [check]


Derived definitions

Demo_KillSelectActor (EventSystemActor)

No overridden parameters.