AIDef:Action/KillSelectActor: Difference between revisions
imported>Leoetlino import AI definitions from 1.5.0 |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
|type=Action | |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 == | == DynamicInstParams == | ||
| Line 8: | 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}} | ||
|- | |- | ||
|} | |} | ||