Kill/Destroy Action: Difference between revisions

From Pummel Party Mod Documentation
Jump to navigation Jump to search
(Initial content)
 
(Added image)
Line 1: Line 1:
[[File:KillAction.png|thumb|600px|The Kill action in the [[Action Editor]].]]
An action to kill a player or destroy a gameobject.
An action to kill a player or destroy a gameobject.
The kill action only takes a reference to the objects it should kill/destroy; it has no other inputs.


If the target of this action is a gameobject or component, that gameobject or component's gameobject will be destroyed.
If the target of this action is a gameobject or component, that gameobject or component's gameobject will be destroyed.

Revision as of 00:40, 7 December 2022

The Kill action in the Action Editor.

An action to kill a player or destroy a gameobject.

The kill action only takes a reference to the objects it should kill/destroy; it has no other inputs.

If the target of this action is a gameobject or component, that gameobject or component's gameobject will be destroyed. If the target is a player, the player will be killed.