combotrigger#
Variables#
bool[] |
|
bool[] |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
bool[] |
|
bool[] |
|
bool[] |
|
bool[] |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
Functions#
Enumerations#
enum ComboTriggerFlag: 🔗 Source
ComboTriggerFlag TRIGFLAG_SWORD = 0
Weapons->LWeapons->Sword - Triggered by Sword LWeapons
ComboTriggerFlag TRIGFLAG_SWORDBEAM = 1
Weapons->LWeapons->Sword Beam - Triggered by Sword Beam LWeapons
ComboTriggerFlag TRIGFLAG_BRANG = 2
Weapons->LWeapons->Boomerang - Triggered by Boomerang LWeapons
ComboTriggerFlag TRIGFLAG_BOMB = 3
Weapons->LWeapons->Bomb Boom - Triggered by Bomb (explosion) LWeapons
ComboTriggerFlag TRIGFLAG_SBOMB = 4
Weapons->LWeapons->Super Bomb Boom - Triggered by Super Bomb (explosion) LWeapons
ComboTriggerFlag TRIGFLAG_LITBOMB = 5
Weapons->LWeapons->Placed Bomb - Triggered by Bomb (placed) LWeapons
ComboTriggerFlag TRIGFLAG_LITSBOMB = 6
Weapons->LWeapons->Placed Super Bomb - Triggered by Super Bomb (placed) LWeapons
ComboTriggerFlag TRIGFLAG_ARROW = 7
Weapons->LWeapons->Arrow - Triggered by Arrow LWeapons
ComboTriggerFlag TRIGFLAG_FIRE = 8
Weapons->LWeapons->Fire - Triggered by Fire LWeapons
ComboTriggerFlag TRIGFLAG_WHISTLE = 9
Weapons->LWeapons->Whistle - Triggered by Whistle LWeapons (whistle played)
ComboTriggerFlag TRIGFLAG_BAIT = 10
Weapons->LWeapons->Bait - Triggered by Bait LWeapons
ComboTriggerFlag TRIGFLAG_WAND = 11
Weapons->LWeapons->Wand - Triggered by Wand Handle LWeapon
ComboTriggerFlag TRIGFLAG_MAGIC = 12
Weapons->LWeapons->Magic - Triggered by Magic LWeapons
ComboTriggerFlag TRIGFLAG_WIND = 13
Weapons->LWeapons->Wind - Triggered by Wind LWeapons
ComboTriggerFlag TRIGFLAG_REFMAGIC = 14
Weapons->LWeapons->Refl. Magic - Triggered by Reflected Magic LWeapons
ComboTriggerFlag TRIGFLAG_REFFIREBALL = 15
Weapons->LWeapons->Refl. Fireball - Triggered by Reflected Fireball LWeapons
ComboTriggerFlag TRIGFLAG_REFROCK = 16
Weapons->LWeapons->Refl. Rock - Triggered by Reflected Rock LWeapons
ComboTriggerFlag TRIGFLAG_HAMMER = 17
Weapons->LWeapons->Hammer - Triggered by Hammer LWeapon
ComboTriggerFlag TRIGFLAG_RESET_ANIM = 18
Effects->Reset Anim - On trigger, reset the animation of the combo.
ComboTriggerFlag TRIGFLAG_INVERT_PROXIMITY = 19
Other->Invert Proximity Req. - Proximity requirement is reversed
ComboTriggerFlag TRIGFLAG_BTN_TOP = 20
Other->Btn: Top - Triggered by button press from above
ComboTriggerFlag TRIGFLAG_BTN_BOTTOM = 21
Other->Btn: Bottom - Trigger by button press from below
ComboTriggerFlag TRIGFLAG_BTN_LEFT = 22
Other->Btn: Left - Trigger by button press from left
ComboTriggerFlag TRIGFLAG_BTN_RIGHT = 23
Other->Btn: Right - Trigger by button press from right
ComboTriggerFlag TRIGFLAG_INVERT_MIN_MAX = 24
Weapons->LWeapons->Max Level Instead - Treat the ‘TriggerLevel’ as a max instead of a min
ComboTriggerFlag TRIGFLAG_STEP = 25
Other->’Step->’ - Triggered by ‘Step->’
ComboTriggerFlag TRIGFLAG_STEP_SENS = 26
Other->’Step-> (Sensitive)’ - Triggered by ‘Step->Sensitive’
ComboTriggerFlag TRIGFLAG_SHUTTER = 27
Other->’Shutter->’ - Triggered by ‘Shutter->’
ComboTriggerFlag TRIGFLAG_CTYPE_EFFECTS = 28
Effects->’->ComboType Effects’ - On trigger, cause the combo’s type-related effects to occur. (ex: opening a chest)
ComboTriggerFlag TRIGFLAG_ONLY_GENTRIG = 29
Don’t allow the combo to trigger via it’s normal trigger methods (ex: bush via slashing) Changing this for any trigger changes it for the whole combo
Deprecated: Use combodata::OnlyGenTriggers instead!
ComboTriggerFlag TRIGFLAG_KILL_WEAPON = 30
Weapons->Effects->’Kill Triggering Weapon’ - If triggered by a weapon, kill the weapon.
ComboTriggerFlag TRIGFLAG_EW_FIREBALL = 31
Weapons->EWeapons->Fireball - Triggered by Fireball EWeapons
ComboTriggerFlag TRIGFLAG_HOOKSHOT = 32
Weapons->LWeapons->Hookshot - Triggered by Hookshot LWeapons
ComboTriggerFlag TRIGFLAG_SPARKLE = 33
Weapons->LWeapons->Sparkle - Triggered by Sparkle LWeapons
ComboTriggerFlag TRIGFLAG_BYRNA = 34
Weapons->LWeapons->Byrna - Triggered by Byrna LWeapons
ComboTriggerFlag TRIGFLAG_REFBEAM = 35
Weapons->LWeapons->Refl. Beam - Triggered by Reflected Beam LWeapons
ComboTriggerFlag TRIGFLAG_STOMP = 36
Weapons->LWeapons->Stomp - Triggered by Stomp Boot LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT1 = 37
Weapons->LWeapons->Custom Weapon 1 - Triggered by ‘Custom Weapon 01’ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT2 = 38
Weapons->LWeapons->Custom Weapon 2 - Triggered by ‘Custom Weapon 02’ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT3 = 39
Weapons->LWeapons->Custom Weapon 3 - Triggered by ‘Custom Weapon 03’ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT4 = 40
Weapons->LWeapons->Custom Weapon 4 - Triggered by ‘Custom Weapon 04’ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT5 = 41
Weapons->LWeapons->Custom Weapon 5 - Triggered by ‘Custom Weapon 05’ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT6 = 42
Weapons->LWeapons->Custom Weapon 6 - Triggered by ‘Custom Weapon 06’ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT7 = 43
Weapons->LWeapons->Custom Weapon 7 - Triggered by ‘Custom Weapon 07’ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT8 = 44
Weapons->LWeapons->Custom Weapon 8 - Triggered by ‘Custom Weapon 08’ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT9 = 45
Weapons->LWeapons->Custom Weapon 9 - Triggered by ‘Custom Weapon 09’ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT10 = 46
Weapons->LWeapons->Custom Weapon 10 - Triggered by ‘Custom Weapon 10’ LWeapons
ComboTriggerFlag TRIGFLAG_AUTO = 47
Other->Always Triggered - Triggered automatically, every frame.
ComboTriggerFlag TRIGFLAG_TRIG_SECRETS = 48
Effects->Triggers Secrets - Triggered by ‘Secrets->’
ComboTriggerFlag TRIGFLAG_INVERT_ITEMREQ = 49
Counters/Items->Invert Item Req - Invert the item requirement (require NOT having the item)
ComboTriggerFlag TRIGFLAG_CONSUME_ITEMREQ = 50
Counters/Items->Consume Item Req - On trigger, consume the required item.
ComboTriggerFlag TRIGFLAG_COUNTER_GE = 51
Counters/Items->’Require >=’ - Only trigger if the counter has >= the specified amount
ComboTriggerFlag TRIGFLAG_COUNTER_LT = 52
Counters/Items->’Require <’ - Only trigger if the counter has < the specified amount
ComboTriggerFlag TRIGFLAG_COUNTER_EAT = 53
Counters/Items->Consume Amount - Consume the specified amount from the counter. Negative amounts add.
ComboTriggerFlag TRIGFLAG_COUNTER_NOT_ONLY_TRIG_EAT = 54
Counters/Items->Consume w/o trig - Consume the specified amount from the counter even if the combo failed to trigger.
ComboTriggerFlag TRIGFLAG_LIGHTON = 55
Other->’Light On->’ - Triggered by a lightbeam.
ComboTriggerFlag TRIGFLAG_LIGHTOFF = 56
Other->’Light Off->’ - Triggered by lack of a lightbeam.
ComboTriggerFlag TRIGFLAG_PUSH = 57
Other->’Push->’ - Triggered when the Hero pushes into the combo.
ComboTriggerFlag TRIGFLAG_LENS_ON = 58
Other->’Lens On->’ - Triggered when the lens is revealing.
ComboTriggerFlag TRIGFLAG_LENS_OFF = 59
Other->’Lens Off->’ - Triggered when the lens is not revealing.
ComboTriggerFlag TRIGFLAG_EW_ARROW = 60
Weapons->EWeapons->Arrow - Triggered by Arrow EWeapons
ComboTriggerFlag TRIGFLAG_EW_BRANG = 61
Weapons->EWeapons->Boomerang - Triggered by Boomerang EWeapons
ComboTriggerFlag TRIGFLAG_EW_SWORD = 62
Weapons->EWeapons->Sword - Triggered by Sword EWeapons
ComboTriggerFlag TRIGFLAG_EW_ROCK = 63
Weapons->EWeapons->Rock - Triggered by Rock EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT1 = 64
Weapons->EWeapons->Custom Weapon 1 - Triggered by ‘Custom Weapon 01’ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT2 = 65
Weapons->EWeapons->Custom Weapon 2 - Triggered by ‘Custom Weapon 02’ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT3 = 66
Weapons->EWeapons->Custom Weapon 3 - Triggered by ‘Custom Weapon 03’ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT4 = 67
Weapons->EWeapons->Custom Weapon 4 - Triggered by ‘Custom Weapon 04’ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT5 = 68
Weapons->EWeapons->Custom Weapon 5 - Triggered by ‘Custom Weapon 05’ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT6 = 69
Weapons->EWeapons->Custom Weapon 6 - Triggered by ‘Custom Weapon 06’ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT7 = 70
Weapons->EWeapons->Custom Weapon 7 - Triggered by ‘Custom Weapon 07’ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT8 = 71
Weapons->EWeapons->Custom Weapon 8 - Triggered by ‘Custom Weapon 08’ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT9 = 72
Weapons->EWeapons->Custom Weapon 9 - Triggered by ‘Custom Weapon 09’ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT10 = 73
Weapons->EWeapons->Custom Weapon 10 - Triggered by ‘Custom Weapon 10’ EWeapons
ComboTriggerFlag TRIGFLAG_EW_MAGIC = 74
Weapons->EWeapons->Magic - Triggered by Magic EWeapons
ComboTriggerFlag TRIGFLAG_EW_BBLAST = 75
Weapons->EWeapons->Bomb Blast - Triggered by Bomb (explosion) EWeapons
ComboTriggerFlag TRIGFLAG_EW_SBBLAST = 76
Weapons->EWeapons->SBomb Blast - Triggered by Super Bomb (explosion) EWeapons
ComboTriggerFlag TRIGFLAG_EW_LITBOMB = 77
Weapons->EWeapons->Lit Bomb - Triggered by Bomb (unexploded) EWeapons
ComboTriggerFlag TRIGFLAG_EW_LITSBOMB = 78
Weapons->EWeapons->Lit SBomb - Triggered by Super Bomb (unexploded) EWeapons
ComboTriggerFlag TRIGFLAG_EW_FIRETRAIL = 79
Weapons->EWeapons->Fire Trail - Triggered by Fire Trail EWeapons
ComboTriggerFlag TRIGFLAG_EW_FLAME = 80
Weapons->EWeapons->Flame - Triggered by Flame EWeapons
ComboTriggerFlag TRIGFLAG_EW_WIND = 81
Weapons->EWeapons->Wind - Triggered by Wind EWeapons
ComboTriggerFlag TRIGFLAG_EW_FLAME2 = 82
Weapons->EWeapons->Flame 2 - Triggered by Flame 2 EWeapons
ComboTriggerFlag TRIGFLAG_SPECIAL_ITEM = 83
States/Spawning->Spawns Special Item - The spawned item will be the special item
ComboTriggerFlag TRIGFLAG_EXST_ITEM = 84
States/Spawning->Trigger ExState after item pickup - Trigger ExState after picking up the spawned item
ComboTriggerFlag TRIGFLAG_EXST_ENEMY = 85
States/Spawning->Trigger ExState after enemy kill - Trigger ExState after killing the spawned enemy
ComboTriggerFlag TRIGFLAG_AUTOGRAB_ITEM = 86
States/Spawning->Spawned Item auto-collects - Spawned item auto-collects
ComboTriggerFlag TRIGFLAG_KILL_ENEMIES = 87
Other->’Enemies->’ - Triggered when all enemies are killed
ComboTriggerFlag TRIGFLAG_SECRETSTR = 88
Other->’Secrets->’ - Triggered when screen secrets are triggered
ComboTriggerFlag TRIGFLAG_THROWN = 89
Weapons->LWeapons->Thrown - Triggered by Thrown Object weapons
ComboTriggerFlag TRIGFLAG_QUAKESTUN = 90
Weapons->LWeapons->Quake Hammer - Triggered by a Quake Stun
ComboTriggerFlag TRIGFLAG_SQUAKESTUN = 91
Weapons->LWeapons->S. Quake Hammer - Triggered by a Super Quake Stun
ComboTriggerFlag TRIGFLAG_ANYFIRE = 92
Weapons->Other->Any Fire - Triggered by Any Fire
ComboTriggerFlag TRIGFLAG_STRONGFIRE = 93
Weapons->Other->Strong Fire - Triggered by Strong Fire
ComboTriggerFlag TRIGFLAG_MAGICFIRE = 94
Weapons->Other->Magic Fire - Triggered by Magic Fire
ComboTriggerFlag TRIGFLAG_DIVINEFIRE = 95
Weapons->Other->Divine Fire - Triggered by Divine Fire
ComboTriggerFlag TRIGFLAG_TRIGLEVELSTATE = 96
States/Spawning->’LevelState->’ - Triggered by Level State
ComboTriggerFlag TRIGFLAG_LEVELSTATE = 97
States/Spawning->’->LevelState’ - Triggers Level State
ComboTriggerFlag TRIGFLAG_TRIGGLOBALSTATE = 98
States/Spawning->’GlobalState->’ - Triggered by Global State
ComboTriggerFlag TRIGFLAG_GLOBALSTATE = 99
States/Spawning->’->GlobalState’ - Triggers Global State
ComboTriggerFlag TRIGFLAG_DO_KILL_ENEMIES = 100
Effects->Kill Enemies - Kill all enemies
ComboTriggerFlag TRIGFLAG_DO_CLEAR_ENEMIES = 101
Effects->Clear Enemies - Delete all enemies
ComboTriggerFlag TRIGFLAG_DO_CLEAR_LWEAPONS = 102
Effects->Clear LWeapons - Delete all lweapons
ComboTriggerFlag TRIGFLAG_DO_CLEAR_EWEAPONS = 103
Effects->Clear EWeapons - Delete all eweapons
ComboTriggerFlag TRIGFLAG_IGNITE_WEAPONS_ANY = 104
Weapons->Effects->Ignite Weapon (Any) - Light the triggering weapon on normal fire.
ComboTriggerFlag TRIGFLAG_IGNITE_WEAPONS_STRONG = 105
Weapons->Effects->Ignite Weapon (Strong) - Light the triggering weapon on strong fire.
ComboTriggerFlag TRIGFLAG_IGNITE_WEAPONS_MAGIC = 106
Weapons->Effects->Ignite Weapon (Magic) - Light the triggering weapon on magic fire.
ComboTriggerFlag TRIGFLAG_IGNITE_WEAPONS_DIVINE = 107
Weapons->Effects->Ignite Weapon (Divine) - Light the triggering weapon on divine fire.
ComboTriggerFlag TRIGFLAG_SEPARATE_WEAPON_TRIGGERS = 108
Weapons->Effects->Weapon Separate Triggers - Triggering weapons only trigger weapon-related effects
ComboTriggerFlag TRIGFLAG_TGROUP_CONTRIB = 109
States/Spawning->Contributes To TrigGroup - This combo contributes to its’ TrigGroup
ComboTriggerFlag TRIGFLAG_TGROUP_LESS = 110
States/Spawning->’TrigGroup Less->’ - When the number of combos that contribute to this combo’s Trigger Group is LESS than the Trigger Group Val, trigger this combo.
ComboTriggerFlag TRIGFLAG_TGROUP_GREATER = 111
States/Spawning->’TrigGroup Greater->’ - When the number of combos that contribute to this combo’s Trigger Group is GREATER than the Trigger Group Val, trigger this combo.
ComboTriggerFlag TRIGFLAG_TRIG_PUSHED = 112
Other->’Pushed->’ - Triggers when this combo, as a pushblock, settles into a new positon.
ComboTriggerFlag TRIGFLAG_TRIG_DIVE = 113
Other->’Dive->’ - Triggers when the Hero dives on this combo.
ComboTriggerFlag TRIGFLAG_TRIG_DIVE_SENS = 114
Other->’Dive-> (Sensitive)’ - Triggers when the Hero dives on this combo. More sensitive hitbox than TRIGFLAG_TRIG_DIVE
ComboTriggerFlag TRIGFLAG_REFARROW = 115
Weapons->LWeapons->Refl. Arrow - Triggered by Reflected Arrow LWeapons
ComboTriggerFlag TRIGFLAG_REFFIRE = 116
Weapons->LWeapons->Refl. Fire - Triggered by Reflected Fire LWeapons
ComboTriggerFlag TRIGFLAG_REFFIRE2 = 117
Weapons->LWeapons->Refl. Fire 2 - Triggered by Reflected Fire 2 LWeapons
ComboTriggerFlag TRIGFLAG_TOGGLE_DARKNESS = 118
Effects->Toggle Darkness - Toggle the screen being a dark room
ComboTriggerFlag TRIGFLAG_REQ_DARKNESS = 119
Other->Req. Darkness - Can only trigger if the screen is a dark room
ComboTriggerFlag TRIGFLAG_REQ_NO_DARKNESS = 120
Other->Req. Darkness - Can only trigger if the screen is lit (not a dark room)
ComboTriggerFlag TRIGFLAG_LITEM_REQUIRE = 121
Counters/Items->Require All - Require all the specified LItems to trigger the combo
ComboTriggerFlag TRIGFLAG_LITEM_INV_REQUIRE = 122
Counters/Items->Require Not All - Require not all (some is ok) of the specified LItems to trigger the combo
ComboTriggerFlag TRIGFLAG_LITEM_SET = 123
Counters/Items->’->Set’ - Grants the specified LItems. If TRIGFLAG_LITEM_UNSET is also on, toggles them instead.
ComboTriggerFlag TRIGFLAG_LITEM_UNSET = 124
Counters/Items->’->Unset’ - Removes the specified LItems. If TRIGFLAG_LITEM_SET is also on, toggles them instead.
ComboTriggerFlag TRIGFLAG_TINT_CLEAR = 125
Graphics->’->Clear Tint’ - Clears the palette tint.
ComboTriggerFlag TRIGFLAG_ONLY_GROUNDED_WEAPONS = 126
Weapons->Other->’Only Grounded Weapons’ - weapons with Z > 0 won’t trigger the combo
ComboTriggerFlag TRIGFLAG_COUNTER_WEALTH_MEDAL = 127
Counter/Items->’Apply Discount’ - Wealth Medal items discount the counter cost
ComboTriggerFlag TRIGFLAG_SCREEN_LOAD = 128
Triggers when screen/region loads, after levelstates and exstates are applied
ComboTriggerFlag TRIGFLAG_UNSET_EXSTATE = 129
Unsets the ExState
when triggered.
ComboTriggerFlag TRIGFLAG_UNSET_EXDOOR = 130
Unsets the ExDoorDir
when triggered.
ComboTriggerFlag TRIGFLAG_REQ_HERO_STANDING = 131
Can only trigger if the Hero is standing on ground. (Counts standing in sideview as well)
ComboTriggerFlag TRIGFLAG_REQ_HERO_NOT_STANDING = 132
Can only trigger if the Hero is NOT standing on ground. (Counts standing in sideview as well)
ComboTriggerFlag TRIGFLAG_INVERT_HERO_Z = 133
Inverts the condition of ReqPlayerZ
ComboTriggerFlag TRIGFLAG_MAX_IN_USE = 134
ComboTriggerFlag TRIGFLAG_MAX = 192
Variable descriptions#
index
ComboTriggerFlag (TRIGFLAG_)
The flags of this trigger.
index
InteractButton (INTBTN_)
Array of 8 buttons that can trigger the combo when pressed (while the player is standing close to and facing the combo)
Used as a minimum (or maximum, if TRIGFLAG_INVERT_MIN_MAX is set) level for any weapon-based triggers.
If set to non-0, represents an item that must be owned (or must NOT be owned, if TRIGFLAG_INVERT_ITEMREQ is set).
If TRIGFLAG_CONSUME_ITEMREQ is set, triggering the combo will consume this item, removing it from the player’s inventory.
Timer. The combo triggers every this many frames if >0.
The SFX to play when the combo is triggered. If 0, no SFX will be played.
The amount the combo will change by when triggered.
Ex. 1
acts as ‘->Next’, -1
acts as ‘->Prev’.
If 0
, no change occurs.
The amount the cset will change by when triggered.
The player proximity requirement. If >0, when the combo is triggered, the trigger will be canceled if the player is not within this distance in pixels.
If TRIGFLAG_INVERT_PROXIMITY is set, the trigger will instead be canceled if the player IS within this distance in pixels.
The light beam trigger set that (may) trigger this combo.
0 means any beams, 1-32 mean only matching beams.
Related:
TRIGFLAG_LIGHTON (trigger when hit by matching light)
TRIGFLAG_LIGHTOFF (trigger when NOT hit by matching light)
The counter used by this trigger.
With TRIGFLAG_COUNTER_GE, cancels the trigger if the counter is < the CounterAmount. With TRIGFLAG_COUNTER_LT, cancels the trigger if the counter is >= the CounterAmount. With TRIGFLAG_COUNTER_EAT, consumes the CounterAmount from the counter when triggered. …and with TRIGFLAG_COUNTER_NOT_ONLY_TRIG_EAT, the consumed amount consumes even if the combo fails to trigger (ex. via failing a conditional)
The counter amount used by this trigger. See Counter.
The combo’s cooldown between triggers
If > 0, triggering this combo triggers all other triggers with matching Copycat.
value
ItemPickupBitflags (IP_)
The item pickup bitflags for the spawned item.
Only these bitflags are used: IP_HOLDUP, IP_TIMEOUT, IP_TRIGGERSECRETS, and IP_ALWAYSGRAB.
If > -1, the ExState that the combo is linked to.
If > -1, the direction of ExDoor that the combo is linked to
If TrigExDoorDir
is > -1, the index of that direction of ExDoor that
the combo is linked to.
If > 0, the enemy ID spawned when the combo is triggered.
If > 0, the item ID (or dropset ID) spawned when the combo is triggered.
The LevelState used for the TRIGFLAG_TRIGLEVELSTATE and TRIGFLAG_LEVELSTATE
flags. 0-31, inclusive.
The GlobalState used for the TRIGFLAG_TRIGGLOBALSTATE and TRIGFLAG_GLOBALSTATE
flags. 0-255, inclusive.
If > 0
, the global trigger caused by TRIGFLAG_GLOBALSTATE will set
to the ‘on’ state with this value as a timer in frames.
If this value is 0, it instead toggles the state as normal.
When triggered, this generic script will be run in the ‘RunFrozen’ mode.
The Trigger Group used for the TRIGFLAG_TGROUP_CONTRIB,
TRIGFLAG_TGROUP_LESS
, and TRIGFLAG_TGROUP_GREATER flags.
0-255, inclusive.
The value used for the TRIGFLAG_TGROUP_LESS and TRIGFLAG_TGROUP_GREATER flags.
0-65535, inclusive.
‘LI_’ flags used by the TRIGFLAG_LITEM_REQUIRE, TRIGFLAG_LITEM_INV_REQUIRE, TRIGFLAG_LITEM_SET, TRIGFLAG_LITEM_UNSET flags.
The ‘Level’ used by ‘TrigLItems’.
- -1 represents the ‘current level’, otherwise a valid dmap level indicates
that level.
length
32
Which of the 32 level states for the DMapLvl are required to be ON for this trigger to activate
bool[] UnreqLevelState 🔗 Source
length
32
Which of the 32 level states for the DMapLvl are required to be OFF for this trigger to activate
bool[] ReqGlobalState 🔗 Source
length
256
Which of the 256 global states are required to be ON for this trigger to activate
bool[] UnreqGlobalState 🔗 Source
length
256
Which of the 256 global states are required to be OFF for this trigger to activate
When triggered, the palette is tinted on the red channel by this amount. -255 to 255.
-63 to 63 if compat QR “Scripts use 6-bit color (0-63) instead of 8-bit (0-255)” is enabled.
When triggered, the palette is tinted on the green channel by this amount. -255 to 255.
-63 to 63 if compat QR “Scripts use 6-bit color (0-63) instead of 8-bit (0-255)” is enabled.
When triggered, the palette is tinted on the blue channel by this amount. -255 to 255.
-63 to 63 if compat QR “Scripts use 6-bit color (0-63) instead of 8-bit (0-255)” is enabled.
The level palette to change to when triggered. -1 for none.
The boss palette to change to when triggered. -1 for none.
The quake timer to set when triggered. -1 for none.
The wavy timer to set when triggered. -1 for none.
The duration to Sword Jinx the Hero for. -2 for none, -1 for ‘until cured’, 0 to cure.
The duration to Item Jinx the Hero for. -2 for none, -1 for ‘until cured’, 0 to cure.
The duration to Shield Jinx the Hero for. -2 for none, -1 for ‘until cured’, 0 to cure.
The duration to Stun the Hero for. -2 for none, -1 for ‘until cured’, 0 to cure.
The duration to Bunny the Hero for. -2 for none, -1 for ‘until cured’, 0 to cure.
The duration that the combo must be pushed against for the ‘Push->’ trigger flag to take effect.
The combo ID to be displayed when in range to trigger a Button[].
The CSet for the PromptCombo.
The combo ID to be displayed when in range to trigger a Button[], but the trigger conditions fail.
The CSet for the FailPromptCombo.
The X position for the PromptCombo/FailPromptCombo.
The Y position for the PromptCombo/FailPromptCombo.
The message string to play when the combo is triggered.
The message string to play when the combo is triggered, but the trigger conditions fail.
The Hero->Jump value is set to this value (if non-zero) when triggered.
Requires that the Hero’s Z value is >= this value to trigger.
If TRIGFLAG_INVERT_HERO_Z is set, requires that the Hero’s Z value is < this instead.
Function descriptions#
void GetLabel(char32[] buf) 🔗 Source
Gets the label for this trigger.
If the buffer provided is too small, it will *automatically be resized to fit*.
void SetLabel(char32[] str) 🔗 Source
Sets the label for this widget.