Modify Player Action: Difference between revisions

From Pummel Party Mod Documentation
Jump to navigation Jump to search
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[File:ExampleModifyPlayerAction.png|thumb|right|600px|The Modify Player action in the Action editor.]]
[[File:ExampleModifyPlayerAction.png|thumb|right|600px|The Modify Player action in the [[Action Editor]].]]
An action to modify an attribute about a player. This action can only be used in [[Minigame Mod]]s.
An action to modify an attribute about a player. This action can only be used in [[Minigame Mod]]s.


Line 11: Line 11:
=== Gravity ===
=== Gravity ===
Enter a direction and magnitude for the gravity this player should experience.
Enter a direction and magnitude for the gravity this player should experience.
The gravity direction is relative to the world, not the player.
The gravity direction is relative to the world, not the player's orientation.


This gravity value will override the gravity set by a [[Set Gravity Action]] for this player only. The value set here by this action can also be overridden by a more recent call to a Set Gravity action.
This gravity value will override the gravity set by a [[Set Gravity Action]] for this player only. The value set here by this action can also be overridden by a more recent call to a Set Gravity action.


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

Latest revision as of 02:46, 16 December 2022

The Modify Player action in the Action Editor.

An action to modify an attribute about a player. This action can only be used in Minigame Mods.

The available attributes that can be modified are:

  • A movement speed multiplier
  • The player's gravity

Movement Speed Multiplier

The multiplier can be set from 0 to 100. It cannot be negative.

Gravity

Enter a direction and magnitude for the gravity this player should experience. The gravity direction is relative to the world, not the player's orientation.

This gravity value will override the gravity set by a Set Gravity Action for this player only. The value set here by this action can also be overridden by a more recent call to a Set Gravity action.