Essentials Series/Buttons: Difference between revisions

m
Battlepedia>Igorseabra4
(Created page with "{{EssentialsSeriesBox}} This page is part of the Essential Series modding tutorials. A '''Button''' (BUTN) is an entity asset that creates a model i...")
 
Battlepedia>Igorseabra4
Line 17:
The basic difference between a button and a pressure plate, regardless of model, is that buttons stay pressed when their hitmask is activated (possibly resetting only after the delay if specified to). Pressure plates reset immediately once you stop hitting it. You could make a pressure plate use the BubbleSpin hit flag, for example. The button would press when you hit it with the attack, and immediately unpress when the attack ends. Buttons also have a flashing effect overlayed on the model when they are unpressed.
 
==== Motion ====
The Motion section of the button is identical to a [[Platforms|Mechanism platform's]]. You can use this to set how the button will move when pressed. [[Platforms#Movement Preview|Movement Preview]] will preview the button's movement.