EvilEngine/TRIG: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1:
{{AssetInfobox
|subtitle=Trigger
|type=[[PlaceableEntity]]
|objectid=0x01
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}}
|sourcecode=[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zEntTrigger.h zEntTrigger.h]}}
 
This asset defines an entry for a trigger, a volume of space which can detect what happens within it and send events to other assets accordingly.
Line 10 ⟶ 11:
 
==Format==
Triggers are [[Placeable AssetEntity|placeableentity assets]], so they start with their 0x54 byte header, then are followed by:
 
{| class="wikitable"