EvilEngine/TRIG: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
{{AssetInfobox
{{AssetInfobox
|subtitle=Trigger
|subtitle=Trigger
|type=[[Placeable]]
|type=[[Entity]]
|objectid=0x01
|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}}
|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.
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: Line 11:


==Format==
==Format==
Triggers are [[Placeable Asset|placeable assets]], so they start with their 0x54 byte header, then are followed by:
Triggers are [[Entity|entity assets]], so they start with their 0x54 byte header, then are followed by:


{| class="wikitable"
{| class="wikitable"