Set Placement Action

From Pummel Party Mod Documentation
Jump to navigation Jump to search
The Set Placement action in the Action Editor.

An action to mark a player as finished and set their placement.

This action works by assigning a different number of points to players based on when this action was run while targeting them. For example, creating a trigger that runs this action on the activating player, then having each player hit the trigger in turn, will cause each player to receive a different number of points based on who hit it first and who hit it last. Combine this with the "Placement Condition" set to Finish Order in the minigame settings to stop the minigame once all players have had a placement set.

The number of points given to players in 1.13.4 is equal to 100 * (<number of players> - <number of finished players>). As an example, in a game with 3 players, the first person to get a placement will be given 300 points, the second 200 and the last player gets 100 points. In an 8-player game, the points awarded from first to last place will be 800, 700, 600, 500, 400, 300, 200, and 100.

As of 1.14.0 this will be changed to (100 * 2^(<number of players> - <number of finished players>)) points. The '2 to the power of...' causes each subsequent finishing player to have half as many points as the previous finished player. This reduces the likelihood of any other points given during the game causing placements to get out of order. In an 8-player game, the points awarded from first to last place will be 25600, 12800, 6400, 3200, 1600, 800, 400, and 200. As the points awarded by this action may seem arbitrary, it may be worth hiding the points from the players by disabling the Show Points in UI option by selecting the Minigame Settings at the top of the Hierarchy window then finding the option under the Minigame Settings foldout in the Inspector window. This setting is also new to 1.14.0.

The target must be set to a player, otherwise, the action does nothing.

This action can only be used in Minigame Mods.