List of Events/BFBB: Difference between revisions

no edit summary
Battlepedia>Igorseabra4
(Created page with "This is a list of Events. Please note that not every event is designed for every asset type (you can only send '''GiveShinyObjects''' to PLYR, for example). {| class="wik...")
 
Battlepedia>Seil
No edit summary
Line 1:
This is a list of [[Events]]. Please note that not every event is designed for every asset type (you can only send '''GiveShinyObjects''' to PLYR, for example).
 
==Event Definitions==
===<code>0x0001</code> Enable===
 
'''Object types''': All
 
'''Parameters''': ???
 
Turns on event handling for an object asset.
 
===<code>0x0002</code> Disable===
 
'''Object types''': All
 
'''Parameters''': ???
 
Turns off event handling for an object asset.
 
===<code>0x0003</code> Visible===
 
'''Object types''': All
 
'''Parameters''': ???
 
Turns on rendering for an object asset.
 
===<code>0x0004</code> Invisible===
 
'''Object types''': All
 
'''Parameters''': ???
 
Turns off rendering for an object asset.
 
===<code>0x0005</code> EnterPlayer===
 
'''Object types''': [[TRIG]]
 
'''Parameters''': ???
 
Automatically sent to a [[TRIG]] whenever the player enters its volume.
 
===<code>0x0006</code> ExitPlayer===
 
'''Object types''': [[TRIG]]
 
'''Parameters''': ???
 
Automatically sent to a [[TRIG]] whenever the player exits its volume.
 
===<code>0x0008</code> ControlOff===
 
'''Object types''': [[PLYR]]
 
'''Parameters''': ???
 
Turns off gamepad/controller input.
 
===<code>0x0009</code> ControlOn===
 
'''Object types''': [[PLYR]]
 
'''Parameters''': ???
 
Turns on gamepad/controller input.
 
===<code>0x000A</code> Reset===
 
'''Object types''': [[BOUL]], [[BUTN]], [[CNTR]], [[DYNA]], [[SIMP]], [[TIMR]]
 
'''Parameters''': ???
 
Resets a [[CNTR]] to its initial value.
 
Resets a [[TIMR]] to its initial value.
 
===<code>0x000B</code> Increment===
 
'''Object types''': [[CNTR]]
 
'''Parameters''': ???
 
Increases a [[CNTR]]’s value by 1. Automatically sends one of the events from [[#0x0192_Count1|Count1]] to [[#0x01A5_Count20|Count20]], based on the resulting value of the increment.
 
===<code>0x000C</code> Decrement===
 
'''Object types''': [[CNTR]]
 
'''Parameters''': ???
 
Decreases a [[CNTR]]'s value by 1. Automatically sends one of the events from [[#0x0192_Count1|Count1]] to [[#0x01A5_Count20|Count20]], based on the resulting value of the decrement.
 
===<code>0x0010</code> Teleport Player===
 
'''Object types''': [[PLYR]]
 
'''Parameters''':
 
* [[AssetID]] '''[[PORT|Portal]]'''
 
Teleports the player using a '''Portal'''. If the '''Portal''''s destination level is the same as the current level, the player will teleport instantly. Otherwise, a loading screen will appear for the destination level.
 
===<code>0x0011</code> OutOfBounds===
 
'''Object types''': [[PLYR]]
 
'''Parameters''': ???
 
Causes the hand to immediately take the player off-screen and place him/her back into the level.
 
===<code>0x0012</code> Run===
 
'''Object types''': [[DYNA]], [[PLAT]], [[TIMR]]
 
'''Parameters''': ???
 
Starts ticking down a [[TIMR]].
 
===<code>0x0013</code> Stop===
 
'''Object types''': [[DYNA]], [[PLAT]], [[SFX]], [[TIMR]]
 
'''Parameters''': ???
 
Pauses a [[TIMR]]?
 
===<code>0x0014</code> Expired===
 
'''Object types''': [[CNTR]], [[TIMR]]
 
'''Parameters''': ???
 
Automatically sent to a [[CNTR]] when its value is 0?
 
Automatically sent to a [[TIMR]] when its value is 0?
 
===<code>0x0035</code> GiveShinyObjects===
 
'''Object types''': [[PLYR]]
 
'''Parameters''':
 
* float '''Amount'''
 
Gives or takes away a specified '''Amount''' of shiny objects from the player.
 
===<code>0x003C</code> Evaluate===
 
'''Object types''': [[COND]]
 
'''Parameters''': ???
 
Evaluates a [[COND]]. Automatically sends [[#0x003D_True|True]] or [[#0x003E_False|False]] to the [[COND]], based on the result of the evaluation.
 
===<code>0x003D</code> True===
 
'''Object types''': [[COND]]
 
'''Parameters''': ???
 
Automatically sent to a [[COND]] from the [[#0x003C_Evaluate|Evaluate]] event if the evaluation is true.
 
===<code>0x003E</code> False===
 
'''Object types''': [[COND]]
 
'''Parameters''': ???
 
Automatically sent to a [[COND]] from the [[#0x003C_Evaluate|Evaluate]] event if the evaluation is false.
 
===<code>0x0192</code> Count1===
 
'''Object types''': [[CNTR]]
 
'''Parameters''': ???
 
Sets the value of a [[CNTR]] to 1. Automatically sent from the [[#0x000B_Increment|Increment]] or [[#0x000C_Decrement|Decrement]] event if the resulting value is 1.
 
===<code>0x0193</code> Count2===
 
'''Object types''': [[CNTR]]
 
'''Parameters''': ???
 
Sets the value of a [[CNTR]] to 2. Automatically sent from the [[#0x000B_Increment|Increment]] or [[#0x000C_Decrement|Decrement]] event if the resulting value is 2.
 
===<code>0x0194</code> Count3===
 
'''Object types''': [[CNTR]]
 
'''Parameters''': ???
 
Sets the value of a [[CNTR]] to 3. Automatically sent from the [[#0x000B_Increment|Increment]] or [[#0x000C_Decrement|Decrement]] event if the resulting value is 3.
 
==All Events==
 
{| class="wikitable"
Anonymous user