Sleek Item Popup Duration Problem

sparta212

Villager
Member
Joined
Jan 4, 2019
Messages
7
Reaction score
0
First Language
english
Primarily Uses
Other
Hi all, I am having a problem with the script mentioned on the title, it works fine except for the duration value, for example if i set a pop up message like this : popup(2,12,1,120) it works good but the duration parameter (120) doesn't work, no matter to what number i set it to, it never works, the popup will still have the same default duration.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,674
Reaction score
566
First Language
English
Primarily Uses
RMVXA
Line 102
@duration = duration #60
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,674
Reaction score
566
First Language
English
Primarily Uses
RMVXA
Ok, I gave you the answer.
Make that change in the script and when you do the script call in the event the duration will be for whatever time you specify.

*EDIT...
Found a better way to do it @sparta212

@duration = duration ? duration : 90

This will take the duration that you set in the event, but if you don't have an event ( gain items or gold) the default will be 90 frames. Or set to what you like.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,036
Messages
1,018,461
Members
137,821
Latest member
Capterson
Top