EvilEngine/BUTN: Difference between revisions

Battlepedia>Seil
Battlepedia>Seil
Line 11:
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x54 || [[AssetID]] || '''Pressed ModelmodelPressedInfoID'''. || Defaults to ModelAssetID in the placeable header (same model for pressed and unpressed).
|-
| 0x58 || int || '''TypeactMethod'''. ||
* 0 = Button - Stays pressed upon being hit. (Also has a flashing effect)
* 1 = Pressure Plate - Stays pressed until it stops being hit, then unpresses.
|-
| 0x5C || int || null'''initButtonState''' ||
|-
| 0x60 || int || '''UnpressisReset'''. || 0 (disabled) or 1 (enabled). If this is enabled, the button will automatically unpress itself after '''Unpress TimeoutresetDelay'''. (Only works on Button, not Pressure Plate.) Useful for timed challenges.
|-
| 0x64 || float || '''Unpress TimeoutresetDelay''' || (seconds). Time to wait after being pressed to unpress.
|-
| 0x68 || int || '''Hit MaskbuttonActFlags'''. || This bitmask specifies what can press the button.
* 0 - Bubble Spin/Sliding (SpongeBob)
* 1 - Bubble Bounce
Line 45:
* 17-31 - Unused
|-
| 0x6C || byte[8] || Unknown. || Usually 4,0,0,4,2,1,1,0
|-
| 0x74 || float || '''Pressed Height''' || (local units). Height of the button when pressed. This is affected by local rotation and scale.
|-
| 0x78 || float || '''Transition Time''' || (seconds). Time it takes to move between pressed and unpressed height.
|-
| 0x7C || float || '''Ease In Time''' || (seconds). Easing in duration, relative to unpressed height. Must be >= 0 and <= Transition Time.
|-
| 0x80 || float || '''Ease Out Time''' || (seconds). Easing out duration, relative to pressed height. Must be >= 0 and <= Transition Time.
|-
| 0x84 || int[6] || null ||
|-
! colspan="34" | Events
|-
| 0x9C || Event[numberOfEvents] || '''[[Events]]''' ||
|}
 
Anonymous user