Thanos Snap / Infinity Gauntlet
Overview
Creator:
Emily
Updated: 31 May 2021
Tags:
2.55,
Item
Downloads: 79
|
Download Package (1.67 KB) |
Information
An item to snap half of the enemies on-screen out of existence.
Description Setup Reviews Comments
Requires std.zh
QR: Ensure that the QR 'Item Scripts Continue to Run' is checked.
This can be found under 'ZScript>>Quest Script Settings>>Scripts'
Set parameters:
d0 - charge-up time, in frames
d1 - cooldown time, in seconds
d2 - Explode visual effect (Value to use for 'npc->Explode()'). Presently, this means a value of '0', '1', or '2'. Personally, I recommend '2'.
Flag: Set 'Flags[0]', the first flag in the item editor flags tab, to use 'Delete' mode. Leaving this unchecked will use 'Kill' mode.
Set constant: SNAP_COOLDOWN_COUNTER (default 0)
If this is non-0, that counter ID will be used to store the cooldown. If you set this non-0, see additional instructions below.
ADDITIONAL SETUP IF USING COUNTER:
If the SNAP_COOLDOWN_COUNTER is not 0, you must merge the example script 'ThanosSnapOnExit' with your 'global script onExit' slot. This ensures that the counter is cleared properly when you exit the game, and does not linger.
If the SNAP_COOLDOWN_COUNTER is 0, you can ignore this.
QR: Ensure that the QR 'Item Scripts Continue to Run' is checked.
This can be found under 'ZScript>>Quest Script Settings>>Scripts'
Set parameters:
d0 - charge-up time, in frames
d1 - cooldown time, in seconds
d2 - Explode visual effect (Value to use for 'npc->Explode()'). Presently, this means a value of '0', '1', or '2'. Personally, I recommend '2'.
Flag: Set 'Flags[0]', the first flag in the item editor flags tab, to use 'Delete' mode. Leaving this unchecked will use 'Kill' mode.
Set constant: SNAP_COOLDOWN_COUNTER (default 0)
If this is non-0, that counter ID will be used to store the cooldown. If you set this non-0, see additional instructions below.
ADDITIONAL SETUP IF USING COUNTER:
If the SNAP_COOLDOWN_COUNTER is not 0, you must merge the example script 'ThanosSnapOnExit' with your 'global script onExit' slot. This ensures that the counter is cleared properly when you exit the game, and does not linger.
If the SNAP_COOLDOWN_COUNTER is 0, you can ignore this.


