GumZol
Overview
Creator:
Alucard648
Added: 20 Nov 2023
Tags:
Enemy
Downloads: 14
|
View Script
Download Package (1.01 MB) |
Information
Zol-like enemy with custom status effect. Made on request by SkyFlare.
Description Setup Reviews Comments
Requires ghost.zh, LinkMovement.zh and status.zh set up already.
1. Set up combo for rendering GumZol attached to Link, set CMB_GUM_ATTACH_GFX to ID of that combo.
2. Set NPC_DETACHED_GUM to reserved ID for GumZol enemy.
3. Check out other constants in script file.
4. Global Script Combining: Put GumStatusUpdate() after StatusEffectsUpdate1() command that handles default status effects and UpdateStatusTimers() command that handles status effect timers.
4. Compile the script.
5. Set up enemy with ID equal to NPC_DETACHED_GUM from step 2.
Attribute 1: Enemy Size X
Attribute 2: Enemy Size Y
Attribute 3: Duration of status effect, induced on collision
Attribute 4: Cooldown time right after spawn, during that enemy`s hitbox is inactive to prevent instant reattaches.
ffc script AltEnemySecret
//If GumZol attaches to Link on screen with Enemies->Secret screen flag is on, secrets will be triggered prematurely.
//Use this script instead of the flag to prevent this.
//Place FFC anywhere in that screen.
//D0 - ID of the Gum status effect. (STATUS_GUM constant)
1. Set up combo for rendering GumZol attached to Link, set CMB_GUM_ATTACH_GFX to ID of that combo.
2. Set NPC_DETACHED_GUM to reserved ID for GumZol enemy.
3. Check out other constants in script file.
4. Global Script Combining: Put GumStatusUpdate() after StatusEffectsUpdate1() command that handles default status effects and UpdateStatusTimers() command that handles status effect timers.
4. Compile the script.
5. Set up enemy with ID equal to NPC_DETACHED_GUM from step 2.
Attribute 1: Enemy Size X
Attribute 2: Enemy Size Y
Attribute 3: Duration of status effect, induced on collision
Attribute 4: Cooldown time right after spawn, during that enemy`s hitbox is inactive to prevent instant reattaches.
ffc script AltEnemySecret
//If GumZol attaches to Link on screen with Enemies->Secret screen flag is on, secrets will be triggered prematurely.
//Use this script instead of the flag to prevent this.
//Place FFC anywhere in that screen.
//D0 - ID of the Gum status effect. (STATUS_GUM constant)



