List of Events/BFBB: Difference between revisions

No edit summary
Line 12:
| 0x0000||Unknown||||||
|-
| 0x0001||{{SlashTrick|Events/Enable}}||All||None||Turns on event handling for an object asset.
|-
| 0x0002||{{SlashTrick|Events/Disable}}||All||None||Turns off event handling for an object asset.
|-
| 0x0003||{{SlashTrick|Events/Visible}}||All||
[[SIMP]], [[PLAT]], [[BOUL]]:
* float '''Unknown''', 0, 0, 0, 0, 0
Line 23:
||Turns on rendering for an object asset. If '''Unknown''' is 77, plays a [https://i.imgur.com/890fBdw.gifv pop-in animation].
|-
| 0x0004||{{SlashTrick|Events/Invisible}}||All||
[[SIMP]], [[PLAT]], [[BOUL]]:
* float '''Unknown'''
Line 30:
||Turns off rendering for an object asset. If '''Unknown''' is 77, plays a [https://i.imgur.com/ht1Azp2.gifv pop-out animation].
|-
| 0x0005||<span id="EnterPlayer">{{SlashTrick|Events/EnterPlayer}}</span>||[[TRIG]]||None||Fired by the [[PLYR]] whenever it enters a [[TRIG]]'s volume.
|-
| 0x0006||<span id="ExitPlayer">{{SlashTrick|Events/ExitPlayer}}</span>||[[TRIG]]||None||Fired by the [[PLYR]] whenever it exits a [[TRIG]]'s volume.
|-
| 0x0007||{{SlashTrick|Events/TouchPlayer}}||||||Unused
|-
| 0x0008||{{SlashTrick|Events/ControlOff}}||[[PLYR]]||None||Disables controller input except for the camera controls, and shows black bars on the top and bottom of the screen.
|-
| 0x0009||{{SlashTrick|Events/ControlOn}}||[[PLYR]]||None||Enables controller input and removes the black bars from the screen.
|-
| 0x000A||{{SlashTrick|Events/Reset}}||All||None||Resets an object asset to its initial position/values.
|-
| 0x000B||<span id="{{SlashTrick|Events/Increment">Increment</span>}}||[[CNTR]]||0, 0, 0, 0, 0, 0||Increases a [[CNTR]]'s value by 1. If the new value is between 1 and 20, one of the events from [[#Count1|Count1]] to [[#Count20|Count20]] is fired.
|-
| 0x000C||<span id="{{SlashTrick|Events/Decrement">Decrement</span>}}||[[CNTR]], [[GRUP]]||float '''Unknown''', 0, 0, 0, 0, 0||Decreases a [[CNTR]]'s value by 1. If the new value is 0, [[#Expired|Expired]] is fired. Otherwise, if the new value is between 1 and 20, one of the events from [[#Count1|Count1]] to [[#Count20|Count20]] is fired.
|-
| 0x000D||Open||||||Unused