RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Event: Random Tab Selection

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 82
I need a script that i can put into an event (Via the button script in the event pallette) that randomly selects tabs in an event.  I need it to be able to select a random tab from the same event and if possible i need it to be able to randomly select only tabs that i want it to.  Please help me, becuase google ain't shown mercy... ;9
"It is better to take what is not yours, than leave it there, neglected."
--Mark Twain

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
What do you mean by tab?

**
Rep: +0/-0Level 82
When you create a new event, simply hit "New Page" and it will create a new tab.  I don't know why they didn't just put "New Tab".  Maybe someone in the english translation department got lazy?  Well, whatever the case may be, once you create taht tab, you will see some tabs (Obviously) right under the "New Page" and "Copy Page" buttons etc.  Click on the new tab.  It's completly blank.  This feature is good for alternate events.  It's very good for your quest journal becuase i can make the event that starts your quests turn on a variable, and when that variable activates, i talk to the NPC (Person) that i specify, and get a completely different responce.  I might have to make a video becuase i'm not quite sure that i'm being quite clear.  Again, im'a noob.  However i'm sure of the tab things one becuase i've used them, two becuase in teh events pallatte(The one that opens when you hit "Insert") if look to the near botton you will see a bunch of buttons, and few of them pertaining to tabs.  That's how i know they're called tabs, becuase i messed around with them a lot.  It turns out that you can make a tab jump to another tab if the conditions aren't right.  This feature is very good becuase it makes event's less messy.  I will still follow up with some images just in case this isn't enough (I have a feeling.)

Thanks!
"It is better to take what is not yours, than leave it there, neglected."
--Mark Twain

**
Rep: +0/-0Level 82
Ok, im' really sorry for this guys.  (I swear on my dead body no matter how hard i try i'm still a noob making typos and gramatical errors.)
Ok, it's called "Labels" not "Tabs".  But basically they are tabs. Sorry.  Pics should clear things up.
"It is better to take what is not yours, than leave it there, neglected."
--Mark Twain

**
Rep: +0/-0Level 82
Here are the Pics:
This the common event window:

This is the Tab:

This is the event pallette:
\

Please help.
"It is better to take what is not yours, than leave it there, neglected."
--Mark Twain

******
Revolution is not a bed of roses.
Rep:
Level 91
Project of the Month winner for July 2009

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
So... you want to have tabs in Common Events? Because...if you mean tabs in map events, then please leave because they're already there. lol - I guess I could see that having Tabs in common events would be more useful, but you'd need a programmer and a scripter to literally manipulate the program.

**
Rep: +0/-0Level 82
No, I don't want a "tab" in the common events menu. I notice that some scripts on this website manipulate the events on the map like in moderns quest journal.  Can't you guys create something that randomly selects labels?  Maybe a new script and copy and paste one-line codes that you can put into the map event?  I'm not asking too much think...  Then again, what do I know about stuff anyway.
"It is better to take what is not yours, than leave it there, neglected."
--Mark Twain

*
Rep:
Level 84
All Hail the Motherboard.
Look man whatever you're looking for, you'll be fine without it, because no one else has ever asked for anything like this ever, unless you're some kind of star rmvx user, then i think you can just go on and forget the tabs thing

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
Ok, so we're talking about Labels, and not? New Pages. Couldn't do something like this?

Control Variables: [XXX: Random] = Random 0..y
Conditional Branch: Variable [XXX: Random] == 0
  Jump to Label: 0
Else
  ...
  Conditional Branch: [XXX: Random] == y
    Jump to Label: y
  End
End