Jump to content

Active Rings

Overview
Creator: Bagu Added: 17 Feb 2020 Tags: 2.55, Item
Rating[?]: No rating
View Script
Information

Description Setup Reviews Comments

This code is written for 2.55

It will only work, if you enable the following function in your qst file.
"Item Scripts Continue To Run"
(ZScript -> Quest Script Settings -> Item Scripts Continue To Run)

The Script is made to create active "B" Button ring items, by using dummy rings.
You can have selectable rings with duration, costs, activate and deactivate sounds.
1. it adds a variable item (rings in this case) to the inventory silently
2. plays a variable sfx to proof that ring effects are active.
3. removes rings, after variable time (in frames)
4. plays a second sfx when the (true) ring is removed again and effects are over.
EDIT:
I made a new version of the script (including regeneration time)