Set Color Action: Difference between revisions

From Pummel Party Mod Documentation
Jump to navigation Jump to search
(Added image)
mNo edit summary
 
Line 5: Line 5:
* If the target of this action is a [[Prop Component]], that prop will have its tint color set to the color given to the action.  
* If the target of this action is a [[Prop Component]], that prop will have its tint color set to the color given to the action.  
* If the target is a [[Logic Component]], all props that are children of the logic component's gameobject will have their tint color set.  
* If the target is a [[Logic Component]], all props that are children of the logic component's gameobject will have their tint color set.  
* If the target is a player, the player will have their color changed. This will revert on death, and does not persist once the minigame ends.
* If the target is a player, the player will have their color changed. This will revert when the player dies and does not persist once the minigame ends.


[[Category:Actions]]
[[Category:Actions]]

Latest revision as of 02:32, 16 December 2022

The Set Color action in the Action Editor.

An action to set the color of props and players.

This action has a slightly different effect depending on the target.

  • If the target of this action is a Prop Component, that prop will have its tint color set to the color given to the action.
  • If the target is a Logic Component, all props that are children of the logic component's gameobject will have their tint color set.
  • If the target is a player, the player will have their color changed. This will revert when the player dies and does not persist once the minigame ends.