Pick up item 1 side, disable pickup other sides

coolj8888

Villager
Member
Joined
Jan 29, 2014
Messages
10
Reaction score
0
First Language
English
Primarily Uses
How would I create an event where you search a pot for an item on 1 side and then disable the other sides from being able to grab that item

More importantly how would I create an event where I dig from 1 of 4 sides and once I get the item from digging the others don't allow me to dig, i want to make it a common event where i will have about 200 dig spots by the end of the game each with 4 sides to dig from and don't want to use up 200 control switches.
 

Hollow

(◡‿◡✿)
Veteran
Joined
Jul 14, 2012
Messages
519
Reaction score
439
First Language
English
Primarily Uses
RMMV
In the third tab of the conditional branch event command, you can check for a character's (in this case the player's) direction.
 

coolj8888

Villager
Member
Joined
Jan 29, 2014
Messages
10
Reaction score
0
First Language
English
Primarily Uses
i want to make it so that you can pick up from any of the 4 sides, but once you pick one the rest wont allow you to activate them, i don't wanna force the player to only be able to dig from one side
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
i want to make it so that you can pick up from any of the 4 sides, but once you pick one the rest wont allow you to activate them, i don't wanna force the player to only be able to dig from one side
That's simple, make a 2 pape event(duplicate it for all sides, I'm assuming It's not a single cell event here, as that would do it automatically), then have each side give item, and turn on same switch. Then have the 2nd page be blank just with the icon, and require the same switch on(duplicate this on each side).
 
Last edited by a moderator:

coolj8888

Villager
Member
Joined
Jan 29, 2014
Messages
10
Reaction score
0
First Language
English
Primarily Uses
whats a pape? and could you give me an example right now i have it so it checks if i have a shovel, then it says care to dig? if i say yes i get the item on 1 side, but it still allows me to get from other sides, i haven't messed with batch events yet so i would need help with that, i also have 0 common events as of now
 

Diretooth

Lv. 25 Werewolf
Veteran
Joined
Mar 10, 2013
Messages
1,231
Reaction score
444
First Language
English
Primarily Uses
RMMV
Assuming you want to have four different items, one for each side, you'd set up a conditional branch based on the direction the player faces. Four cond-branches, each ending in self switch a on, with the second page being the one with self switch a being on.

However, if each side would give the same item, just have the item be awarded and self switch a on.

Of course, the four items, one pot thing would cause massive amounts of fridge logic without in-game justification.

Also, he meant 'page', not 'pape'.
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
whats a pape? and could you give me an example right now i have it so it checks if i have a shovel, then it says care to dig? if i say yes i get the item on 1 side, but it still allows me to get from other sides, i haven't messed with batch events yet so i would need help with that, i also have 0 common events as of now
In event there's taps at the top, click the next page tab.

Well after the Yes command, put activate a switch(then make a second page, on the 2nd page, have a page condition of that switch you just turn on, as needing to be on, and you're done.

You probally should watch/read the tutorials on eventing, as well as the database(it will help you learn how everything it setup).
 
Last edited by a moderator:

coolj8888

Villager
Member
Joined
Jan 29, 2014
Messages
10
Reaction score
0
First Language
English
Primarily Uses
guys if i set a self switch to A that only effects that one side not the other 3 that's what the issue is, if all i needed was a self switch it would of been easy, i understand the basics of switchs, and conditional branches but self switch only applies to the one event not the other 3 around it, also its the same item on all sides, i just want to allow the player to pick what side to dig from instead of forcing him to pick 1 side. Self switch only applies to the event for the side you pick so if the switch is turned to A that side will deactivate but the other 3 will still be active.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
If you only used 1 event, and set the page using Self Switch A is On as the highest page, once it activates, no one can activate the other directions... show us what you tried to do... it seems like you actually used 4 events instead of just 1
 
Last edited by a moderator:

coolj8888

Villager
Member
Joined
Jan 29, 2014
Messages
10
Reaction score
0
First Language
English
Primarily Uses
Remember i could easily tie all four sides onto a control switch but i would need a separate control switch for every dig location in the game then (200 locations) each are 4 sided
 

coolj8888

Villager
Member
Joined
Jan 29, 2014
Messages
10
Reaction score
0
First Language
English
Primarily Uses
each side of the dig spot uses a separate event, imagine a + (middle is whole) 4 points of plus are each event. If for example you dig from the top and get the item self switch A turns on and you can no longer dig from the top (this doesn't stop the player from digging on the bottom, left, or right and getting the item 3 more times (that's the issue) if I set it to a control switch instead of a self switch that allows me to make it effect the other 3 spots as well, but for any other dig locations on other maps I would need to use another control switch (so 200 in all) if I use up 200 of my max of 999 that is silly
 

coolj8888

Villager
Member
Joined
Jan 29, 2014
Messages
10
Reaction score
0
First Language
English
Primarily Uses
the first page it checks to see if you have the shovel or it will say nothing, if you have the shovel it then asks if you want to dig, if you say yes you get the item, self switch A turns on, then new page is blank with the requirement Self switch A is on. (this only stops digging on 1 side)
 

coolj8888

Villager
Member
Joined
Jan 29, 2014
Messages
10
Reaction score
0
First Language
English
Primarily Uses
how would I make it a single event?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
so its like this:

** * *and you can for example dig the top part even when I'm looking to the left, etc?then you need to use a switch really instead of a self switch... unless you wanna dabble with scripts

now if the four directions is only for determining which direction the character is facing when you dig, then you can simply use 1 event on the center... then if each direction will give a different item, just use a conditional branch for that...

PS: DON'T MULTIPOST PLEASE... There's an edit button
 
Last edited by a moderator:

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
the first page it checks to see if you have the shovel or it will say nothing, if you have the shovel it then asks if you want to dig, if you say yes you get the item, self switch A turns on, then new page is blank with the requirement Self switch A is on. (this only stops digging on 1 side)
If there's 4 events, just turn on a normal switch, and have the 2nd page of each of the 4 switches, require that same switch to be on.
 

coolj8888

Villager
Member
Joined
Jan 29, 2014
Messages
10
Reaction score
0
First Language
English
Primarily Uses
sorry ill be careful not to multi, basically its only 1 item, when the event is in the middle there is no way to click it (unpassable ground) so I made 4 event (1 on ea side) I agree all I need is a switch but if I use a switch for this dig spot I will need another switch for a dig spot on another area and there will be 200 dig spots and 200 mining spots in the game (so 400 switches) I didn't wanna use 400 switches on just a side part of the game so was really trying to figure out how to make it a common event
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Set the event to same as characters... that way you can activate it from the sides... events without graphics are below characters by default so you can only activate those when ur standing on top of them, so you need to manually set them to same as characters...
 
Last edited by a moderator:

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
sorry ill be careful not to multi, basically its only 1 item, when the event is in the middle there is no way to click it (unpassable ground) so I made 4 event (1 on ea side) I agree all I need is a switch but if I use a switch for this dig spot I will need another switch for a dig spot on another area and there will be 200 dig spots and 200 mining spots in the game (so 400 switches) I didn't wanna use 400 switches on just a side part of the game so was really trying to figure out how to make it a common event
So what   :) , I believe the magic number is like 5,000 switches(from what I heard in another topic) or some insane number, so you can have more switches then you'll ever need, no need to be careful about it.
 
Last edited by a moderator:

coolj8888

Villager
Member
Joined
Jan 29, 2014
Messages
10
Reaction score
0
First Language
English
Primarily Uses
I thought the maximum switches was 999 actually and thanks so much shana I feel like an idiot now because it was something so incredibly simple like that!
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Event settings is one of the most basic parts of eventing, but it is also one of the easiest to not notice... We've all been there, don't worry... :)
 
Last edited by a moderator:

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