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

Bagu  

Edited 17 February 2020 - 12:14 PM
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
 

Bagu  

Posted 17 February 2020 - 12:04 PM
I used the itembundle script as example/reference
 

Bagu  

Posted 17 February 2020 - 12:00 PM
I already tested it, works fine...
But you're probably right.

I also made a second version, including reganeration
(delay - in frames - before you can use the dummy ring again)
 

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:
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