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
Jamian
Posted 17 February 2020 - 11:52 AM
I reckon you are missing brackets after checking that the item ID is not 0. It should probably be:
Without brackets, only the first statement following the condition will be attached to it. However, this wouldn't be a problem as long as you don't call the script with item 0.
if(item1 > 0){ Link->Item[item1] = true; Game->PlaySound(sfx1); Waitframes(wait); Link->Item[item1] = false; Game->PlaySound(sfx2); }
Without brackets, only the first statement following the condition will be attached to it. However, this wouldn't be a problem as long as you don't call the script with item 0.
- Bagu likes this
Bagu
Posted 17 February 2020 - 12:59 AM
Had a little problem with the preview video
so, try this link to take a first look
https://youtu.be/FzDD_kOitfs
so, try this link to take a first look
https://youtu.be/FzDD_kOitfs