Disable button help.

Status
Not open for further replies.

Sparky89

Is proberly eating one of evmaster's Brownie's.
Veteran
Joined
Dec 18, 2019
Messages
154
Reaction score
54
First Language
English
Primarily Uses
RMMV
Hello all, I have a Hook shot assigned to Pageup key.. however i want that key disabled until the player gets the Hook shot.
Is there anyway i can disable Pageup thank you.

@Zerothedarklord
 

EpicFILE

Epic Member
Veteran
Joined
Sep 27, 2017
Messages
439
Reaction score
1,392
First Language
Indonesia
Primarily Uses
RMMV
I assume you already have either Yanfly Button Common Events or
Himeworks Common Event Buttons.
In that case, you'd need to put conditional branch in the common event for that "Hook Shot".
You can set Hook Shot switch or Hook Shot item as the required condition,
and put the actual Hook Shot event inside that condition.
Leave the else branch blank.
 

Sparky89

Is proberly eating one of evmaster's Brownie's.
Veteran
Joined
Dec 18, 2019
Messages
154
Reaction score
54
First Language
English
Primarily Uses
RMMV
I assume you already have either Yanfly Button Common Events or
Himeworks Common Event Buttons.
In that case, you'd need to put conditional branch in the common event for that "Hook Shot".
You can set Hook Shot switch or Hook Shot item as the required condition,
and put the actual Hook Shot event inside that condition.
Leave the else branch blank.
I do, and thank you this makes sence i fixed it another way, i added a note tag into the Items<Hookshot> and this worked it was a case of understanding a not so English plugin. lol But this also would work as to what you surgested it's still good to know because i was looking how to make Yanfly's Common events buttons disable a key rather then enable ( as intended ). So thank you EpicFILE.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,842
Reaction score
5,224
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top