Set Color Action: Difference between revisions

From Pummel Party Mod Documentation
Jump to navigation Jump to search
(Initial content)
 
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
An action to set the tint color of props.
[[File:SetColorAction.png|thumb|600px|The Set Color action in the [[Action Editor]].]]
An action to set the color of props and players.


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.
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.


[[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.