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.
Input selection

0 Members and 1 Guest are viewing this topic.

****
Rep:
Level 71
I have a bit of code that could allow me to write a script to have an input selection. I have two questions do you think it is worth it and if I were to write it like my difficulty script do you think it would work?

****
Rep:
Level 71
Does any one have an opinion?

*
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
I don't know what you mean by a script that has an input selection. That is very vague.

****
Rep:
Level 71
I mean a script that will give a game input selection, where you go into the options and modify the controls.

*
*crack*
Rep:
Level 64
2012 Best Newbie2012 Most Unsung MemberFor frequently finding and reporting spam and spam bots
So you mean modifying the input values so Input C equals something else besides ( "Z", "Space" and "Enter" )?
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3

****
Rep:
Level 71
What I mean is a scene that allows the player to change the controls, like this.

*
*crack*
Rep:
Level 64
2012 Best Newbie2012 Most Unsung MemberFor frequently finding and reporting spam and spam bots
Yes it is worth it. Some default controls on some games are terrible, so having the option to map your own is definitely worth it.
I don't see why it wouldn't work if it was written the same way as your difficulty script.
It would just be an option though, so not something that necessarily must be forced to set prior to engagement like your difficulty script is. :)

Do it 8)
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3

****
Rep:
Level 71
Alright I guess I will then.  :)


****
Rep:
Level 71
I started working on this today but before I go any further is there an initialize method that will only occur once? I swear I've seen it before but I can't remember what it is.

*
*crack*
Rep:
Level 64
2012 Best Newbie2012 Most Unsung MemberFor frequently finding and reporting spam and spam bots
Game_System I believe

It initialises before even hitting the title screen, then loads up when you load a save game... Is that it? I'm not sure :(
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3

****
Rep:
Level 71
No it was something like this
Code: [Select]
def first.initialize
It was a method that would be called once and then never be called again.