Jump to content

Scripted secret triggers

Overview
Creator: Moosh Added: 09 Feb 2018 Tags: FFC
Rating[?]: Rating: 4.33/5 (2 ratings)
View Script
Information

Description Setup Reviews Comments

Place an FFC down on the screen with the following arguments:
  • D0: This is the weapon type that triggers the secrets. Check the LW_ constants in std_constants.zh for the list of weapon types and their IDs.
  • D1: This is the script flag (98-102, or any other flag without behavior) used to mark trigger combos on layer 0. If 0, the FFC carrying the script acts as the trigger in place of a combo.
  • D2: This is the type of secret to use:
    • 0: Self Only
    • 1: Screen Secrets (Temp)
    • 2: Screen Secrets (Perm)
    • 3: Hit All Triggers (Temp)
    • 4: Hit All Triggers (Perm)
  • D3: Combo triggers should change to when hit. If 0, they'll change to the next combo in the list relative to what they were.
  • D4: CSet triggers should change to when hit.
  • D5: SFX to play when the trigger is hit

Requires std.zh and ffcscript.zh.