I will submit the new version, with your fixed line.
(just understood what you mean. And YES, you are absolutely right)
Thanks for this tipp
Active Rings
Overview
Creator:
Bagu
Added: 17 Feb 2020
Tags:
2.55,
Item
|
View Script |
Information
Become the lord of thousand rings...
Tried to add a little spice to the ring items.
Special thanks to Avaro and Jamian, for their support.
(Bagu)
Tried to add a little spice to the ring items.
Special thanks to Avaro and Jamian, for their support.
(Bagu)
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)
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)