Any chance I could get some help on my system? I'll see if I can't find anyone else who might need help, or maybe ask this in scripts?
Event System Support (expert users only)
RPG Maker VXAce SupportI'd question whether the calculation really needs to be that complex. But you're right - this is really something for the scripting forum, not an Event System issue.
Okay, so I PM'ed a member and he directed me towards this forum section for my problem.
Alright, I pretty sure I can create the weapon upgrade system that I am wanting without a script. I'm wanting to be able to make a "Suikoden II weapon upgrade system". I would like it to work very similar, if not identical to the game itself. Now, I already have in my weapon database, a 16 level upgrade of a specific. Ex: Staff (Lv.1), Staff (Lv.2), Staff (Lv.3), Staff (Lv.4) and so on.. considering this is the only way you can go about upgrading a weapon without a script that i know of. I need a little help on which direction i need to go about this.
Alright, I pretty sure I can create the weapon upgrade system that I am wanting without a script. I'm wanting to be able to make a "Suikoden II weapon upgrade system". I would like it to work very similar, if not identical to the game itself. Now, I already have in my weapon database, a 16 level upgrade of a specific. Ex: Staff (Lv.1), Staff (Lv.2), Staff (Lv.3), Staff (Lv.4) and so on.. considering this is the only way you can go about upgrading a weapon without a script that i know of. I need a little help on which direction i need to go about this.
Please explain what you want to happen - what does the player have to do to upgrade a weapon, and what is the trigger? Do not assume everyone knows what a "Suikoden II weapon upgrade system" is.
Your right, i'm assuming a bit much. But, explaining this may not be the easiest. Let me give it a whirl.
Alright. So my actor "Jowy" has a Staff (Lv.1). He goes to the weapon/blacksmith shop and wants to upgrade his weapon. Now, because he is only at the beginning of the game still, he will only be able to upgrade his Staff (Lv.1) to a (Lv.4). Depending how far your in the game will dictact how much more he can upgrade his weapon. When he does upgrade his weapon, the previous weapon/upgrade that is equipped will be removed and replaced with the new Staff (Lv.?). Ex: Staff (Lv.1) will be removed and get replaced by Staff (Lv.2). Also, when he upgrades his weapons, the only thing that is needed for the upgrade is "money". So, for every higher level upgrade he will need to pay more each time. Ex: Staff (Lv.2) = $1200, Staff (Lv.3) $2500...
From what I know, I am going to have to have 16 of the same weapons so I can make the upgrade possible (At least without a script). Yes, the weapon will be upgradeable 16 times. Now, here is where I am confused... where would i possibly go from here?
EDIT: If its possible, depending on which actor i have in the first position. That "actors" weapon will be the only one to show. Then, when i switch to another actor. There weapon will be the only one to show to be able to upgrade.
Alright. So my actor "Jowy" has a Staff (Lv.1). He goes to the weapon/blacksmith shop and wants to upgrade his weapon. Now, because he is only at the beginning of the game still, he will only be able to upgrade his Staff (Lv.1) to a (Lv.4). Depending how far your in the game will dictact how much more he can upgrade his weapon. When he does upgrade his weapon, the previous weapon/upgrade that is equipped will be removed and replaced with the new Staff (Lv.?). Ex: Staff (Lv.1) will be removed and get replaced by Staff (Lv.2). Also, when he upgrades his weapons, the only thing that is needed for the upgrade is "money". So, for every higher level upgrade he will need to pay more each time. Ex: Staff (Lv.2) = $1200, Staff (Lv.3) $2500...
From what I know, I am going to have to have 16 of the same weapons so I can make the upgrade possible (At least without a script). Yes, the weapon will be upgradeable 16 times. Now, here is where I am confused... where would i possibly go from here?
EDIT: If its possible, depending on which actor i have in the first position. That "actors" weapon will be the only one to show. Then, when i switch to another actor. There weapon will be the only one to show to be able to upgrade.
The only non-script way I can think of to do this, is to put the player's level into a variable, then use that in a conditional branch to determine what upgrades are available and how much they'll cost. Then use a Show Choices command to show them what's available and let them choose. However, with that many possible upgrades, it could end up a quite long and complicated event (lots of conditions and Show Choices, depending on their level and what weapon they've already got).
But someone else might be able to come up with a different, easier way.
But someone else might be able to come up with a different, easier way.
Hmmm... well, it wouldn't depend on there level. It would depend on what blacksmith they got to later on in the game. So a blacksmith in a village that is only accessible at the 60% in the game. Hence, that blacksmith will allow you to upgrade more. Has nothing to do with levels.
ah, okay. It becomes easier then. Just have each blacksmith offer whatever they have available, at the correct price, through a Show Choices. Then you can remove their current weapon, add the new one, and deduct the appropriate amount of gold (after checking, of course, that they have enough gold in the first place)
Okay, I think grasping what you are saying, but I have a problem. How would you set it up to where the blacksmith would know what weapon to sell to each actor individually and only showing that actors weapon?
Like this..
Jowy - Staff
Riou - twin fang
It would only show those actors specific weapons and not any other actors weapons.
Like this..
Jowy - Staff
Riou - twin fang
It would only show those actors specific weapons and not any other actors weapons.
Yeah, that's where it gets more complicated. To do it with choices, you'd have to have a choice for the actor whose weapon you want to upgrade, then within that, another choice for which upgrade to take. You could do it with conditional branches, and it would get very long and ugly. The only way to streamline it would be to use scripts.
or is there anyway to have it to were whoever is in the first formation slot, it will automatically sell there weapon in the shop and only that actors?
It would still involve conditional branches and choices. Check what options are available on all the Conditional Branch tabs. If there's nothing that tells you who is in the first slot, you can use the Script line in the conditional branch and look at $game_party.members[0].id to see who's first.
I am looking to create a Active Time Events System like the one in FF9.
I want to use the Gab Manager script to display the Active Time Events messages.
So wheres should I start?
I was thinking about using a common event system as a base and have trigger point events on maps with conditions.
Edit- So Far Edit 2 : More Tweaking
I want to use the Gab Manager script to display the Active Time Events messages.
So wheres should I start?
I was thinking about using a common event system as a base and have trigger point events on maps with conditions.
Edit- So Far Edit 2 : More Tweaking
Picture of puzzle in question:
So.. I'm not sure if what I'm trying to make suits this post but It's more of an advanced puzzle that I would like to get some insight in.
The goal for my puzzle is to align the railroad properly so that the mine-cart will move to a specific location where it will explode and open up a hidden passage. I'm thinking about using variables to change the direction of the different railroad events. The levers and the orbs that you can see in the picture represents switches that the player can activate (to activate the orbs the player will need a specific out-of combat skill to be able to operate).
It might be a little bit too advanced for me to make this puzzle work, but the thing I have in mind is to have a readable sign that will explain what each of the orbs will do.
example= Middle orb: +3
Southern orb: +5
Western orb: + 8
I will then have different 'codes' that the player needs to input to change the directions of the different railroad events:
Example: Code Input #1: Amount=24+ lever 1 + lever 3. This means that the player needs to add the number 24 correctly by activating the different orbs and then pull lever 1 and lever 3 to complete the code to change the direction of the first railroad event.
What I want to implement aswell is that you can only use a combination of 4 orbs to get the correct number, so in this particular code a soloution would be for example: West orb, Mid orb,South orb, West orb = 24, and after that the player has to use lever 1 and lever 3 for the code to be successful.
I will use one variable for the orbs and 1 variable for the levers, and when they match the conditions the railroad will turn in the correct direction. So that would mean that variable A needs to be 24, and variable B needs to be lever 1 + lever 3 for the condition to be set to true for the first railroad event in question.
The player will then have to do 3 different codes until all the raildroad sections are align with the path that the cart should move too.
I think I will be able to work out that system, but what I'm unusure of is the following:
How can I set a restriction, so that the player may only use 4 orbs to add up to the amount needed?
(as in when 4 orbs have been used a message will appear saying amount correct, or amount incorrect and the orbs will no longer be interactable unless the player reset the code if the amount is incorrect/ or pull the required levers to complete the code.)
And how can I work the cart into moving in different ways, depending on the current state of the raildroad events?
(as in if the first code is done, variable A should be equal to 24, and the railroad event set to change when Variable A= 24 is active and aligned with the correct path. For example: if the first code is active the cart will move the correct way (North), and if It's not active the cart will move the other way (South).
That's my main concerns to be able to complete this puzzle, I hope I made any sense on what I want to do with this puzzle.. if you are unclear about anything, feel free to ask! I just need some directions on how to make this possible!
Thanks!
(You can open the spoiler to get a grasp on what I mean with 'orbs', 'levers' and 'railroad events')
Would appreciate any help into making it work the way I want it too.
Edit: Just managed to finish the actual puzzle! Wow, it was really frustrating to make it work like I wanted too (so many switches, events and variables to keep track on..), but I actually managed to work it out! 🙂
I thought the questions I posted here would prevent me from creating the puzzle, but I just added a variable for the orbs making them add a +1 every time you activate one, than I added a parallel process that would switch state to inactive if the orb variable would be equal +4 😛
And as for the cart movement, it was all about keeping track on alot of things and using conditional branches to make it work. Sorry for the huge post here though. If anyone wanna see the result of the puzzle just shout! 😀
The goal for my puzzle is to align the railroad properly so that the mine-cart will move to a specific location where it will explode and open up a hidden passage. I'm thinking about using variables to change the direction of the different railroad events. The levers and the orbs that you can see in the picture represents switches that the player can activate (to activate the orbs the player will need a specific out-of combat skill to be able to operate).
It might be a little bit too advanced for me to make this puzzle work, but the thing I have in mind is to have a readable sign that will explain what each of the orbs will do.
example= Middle orb: +3
Southern orb: +5
Western orb: + 8
I will then have different 'codes' that the player needs to input to change the directions of the different railroad events:
Example: Code Input #1: Amount=24+ lever 1 + lever 3. This means that the player needs to add the number 24 correctly by activating the different orbs and then pull lever 1 and lever 3 to complete the code to change the direction of the first railroad event.
What I want to implement aswell is that you can only use a combination of 4 orbs to get the correct number, so in this particular code a soloution would be for example: West orb, Mid orb,South orb, West orb = 24, and after that the player has to use lever 1 and lever 3 for the code to be successful.
I will use one variable for the orbs and 1 variable for the levers, and when they match the conditions the railroad will turn in the correct direction. So that would mean that variable A needs to be 24, and variable B needs to be lever 1 + lever 3 for the condition to be set to true for the first railroad event in question.
The player will then have to do 3 different codes until all the raildroad sections are align with the path that the cart should move too.
I think I will be able to work out that system, but what I'm unusure of is the following:
How can I set a restriction, so that the player may only use 4 orbs to add up to the amount needed?
(as in when 4 orbs have been used a message will appear saying amount correct, or amount incorrect and the orbs will no longer be interactable unless the player reset the code if the amount is incorrect/ or pull the required levers to complete the code.)
And how can I work the cart into moving in different ways, depending on the current state of the raildroad events?
(as in if the first code is done, variable A should be equal to 24, and the railroad event set to change when Variable A= 24 is active and aligned with the correct path. For example: if the first code is active the cart will move the correct way (North), and if It's not active the cart will move the other way (South).
That's my main concerns to be able to complete this puzzle, I hope I made any sense on what I want to do with this puzzle.. if you are unclear about anything, feel free to ask! I just need some directions on how to make this possible!
Thanks!
(You can open the spoiler to get a grasp on what I mean with 'orbs', 'levers' and 'railroad events')
Would appreciate any help into making it work the way I want it too.
Edit: Just managed to finish the actual puzzle! Wow, it was really frustrating to make it work like I wanted too (so many switches, events and variables to keep track on..), but I actually managed to work it out! 🙂
I thought the questions I posted here would prevent me from creating the puzzle, but I just added a variable for the orbs making them add a +1 every time you activate one, than I added a parallel process that would switch state to inactive if the orb variable would be equal +4 😛
And as for the cart movement, it was all about keeping track on alot of things and using conditional branches to make it work. Sorry for the huge post here though. If anyone wanna see the result of the puzzle just shout! 😀
I've been racking my brain at this problem for many hours now. Hopefully there's someone here that can help!
Essentially I have a 2x2 "Door"
------------
| A | B |
------------
| C | D |
------------
You can only get to C&D, and only from the south.
When you activate C or D, both C and D tiles slide up over A&B. Where C&D use to be are two black squares (Cave entrance)
When you then step on the black squares at C or D, it transfers you to the "cave".
All this works exactly as intended. However, when I go to another map, then come back, that's where the issue lies.
All 4 tiles are back looking how they normally do (Door closed), and the events don't work.
I have 4 local (No common) events setup as listed below. For the sake of making it easier to re-create to figure out/test, I've split it up into spoilers. Each Event has it's own spoiler section, and each event section is split up by pages for that event. Page 1 = tab 1, page 2 = tab 2, etc...
See more notes after spoilers.
Event 1
Page 2
Event 2
Page 2
Event 3
Page 2
Event 4
Page 2
Switch 4984 (Used in events 3 and 4) is a switch that's turned on when a specific boss dies. (Currently, for testing purposes, I have an event setup to turn this switch on)
Essentially I have a 2x2 "Door"
------------
| A | B |
------------
| C | D |
------------
You can only get to C&D, and only from the south.
When you activate C or D, both C and D tiles slide up over A&B. Where C&D use to be are two black squares (Cave entrance)
When you then step on the black squares at C or D, it transfers you to the "cave".
All this works exactly as intended. However, when I go to another map, then come back, that's where the issue lies.
All 4 tiles are back looking how they normally do (Door closed), and the events don't work.
I have 4 local (No common) events setup as listed below. For the sake of making it easier to re-create to figure out/test, I've split it up into spoilers. Each Event has it's own spoiler section, and each event section is split up by pages for that event. Page 1 = tab 1, page 2 = tab 2, etc...
See more notes after spoilers.
Event 1
Upper Right Door section.
Page 1
Conditions: Switch: [0101] = On
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Self Switch A = On
->
Else
->Conditional Branch: Switch: [0101] = On
--->Set Event Location: This Event, (029,009)
--->Control Self Switch: B = On
->Branch End
Branch End
Page 1
Conditions: Switch: [0101] = On
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Self Switch A = On
->
Else
->Conditional Branch: Switch: [0101] = On
--->Set Event Location: This Event, (029,009)
--->Control Self Switch: B = On
->Branch End
Branch End
Conditions: Self Switch: B = On
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Below
Trigger: Event Touch
Content:
Play SE: 'Move', 80, 100
Transfer Player: [Map] (Coords)
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Below
Trigger: Event Touch
Content:
Play SE: 'Move', 80, 100
Transfer Player: [Map] (Coords)
Event 2
Upper Left Door section.
Page 1
Conditions: Switch: [0101] = On
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Self Switch A = On
->
Else
->Conditional Branch: Switch: [0101] = On
--->Set Event Location: This Event, (028,009)
--->Control Self Switch: B = On
->Branch End
Branch End
Page 1
Conditions: Switch: [0101] = On
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Self Switch A = On
->
Else
->Conditional Branch: Switch: [0101] = On
--->Set Event Location: This Event, (028,009)
--->Control Self Switch: B = On
->Branch End
Branch End
Conditions: Self Switch: B = On
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Below
Trigger: Event Touch
Content:
Play SE: 'Move', 80, 100
Transfer Player: [Map] (Coords)
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Below
Trigger: Event Touch
Content:
Play SE: 'Move', 80, 100
Transfer Player: [Map] (Coords)
Event 3
Lower Left Door Section
Page 1
Conditions: None
Graphic:Custom (Lower Left Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Action
Content:
Conditional Branch: Switch [4984] = On
->Shake Screen: 1, 7, @350
->Wait: 150 frames
->Control Switch: [0103] = On
->Set Move Route (Wait)
--->Move up
--->Wait 3 frames
->Control Switch: [0101] = On
->Control Switch [0105] = On
Else
->Text
Branch End
Page 1
Conditions: None
Graphic:Custom (Lower Left Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Action
Content:
Conditional Branch: Switch [4984] = On
->Shake Screen: 1, 7, @350
->Wait: 150 frames
->Control Switch: [0103] = On
->Set Move Route (Wait)
--->Move up
--->Wait 3 frames
->Control Switch: [0101] = On
->Control Switch [0105] = On
Else
->Text
Branch End
Conditions: Switch [0102] is On
Graphic: Custom (Lower Left Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Switch [0102] = On
->Set Move Route (Wait)
--->Move up
--->Wait: 3 frames
->Control Switches: [0102] = Off
->Control Switches: [0105] = On
Branch End
Graphic: Custom (Lower Left Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Switch [0102] = On
->Set Move Route (Wait)
--->Move up
--->Wait: 3 frames
->Control Switches: [0102] = Off
->Control Switches: [0105] = On
Branch End
Event 4
Lower Right Door Section
Page 1
Conditions: None
Graphic:Custom (Lower Right Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Action
Content:
Conditional Branch: Switch [4984] = On
->Shake Screen: 1, 7, @350
->Wait: 150 frames
->Control Switch: [0102] = On
->Set Move Route (Wait)
--->Move up
--->Wait 3 frames
->Control Switch: [0101] = On
->Control Switch [0104] = On
Else
->Text
Branch End
Page 1
Conditions: None
Graphic:Custom (Lower Right Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Action
Content:
Conditional Branch: Switch [4984] = On
->Shake Screen: 1, 7, @350
->Wait: 150 frames
->Control Switch: [0102] = On
->Set Move Route (Wait)
--->Move up
--->Wait 3 frames
->Control Switch: [0101] = On
->Control Switch [0104] = On
Else
->Text
Branch End
Conditions: Switch [0103] is On
Graphic: Custom (Lower Right Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Switch [0103] = On
->Set Move Route (Wait)
--->Move up
--->Wait: 3 frames
->Control Switches: [0103] = Off
->Control Switches: [0104] = On
Branch End
Graphic: Custom (Lower Right Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Switch [0103] = On
->Set Move Route (Wait)
--->Move up
--->Wait: 3 frames
->Control Switches: [0103] = Off
->Control Switches: [0104] = On
Branch End
Switch 4984 (Used in events 3 and 4) is a switch that's turned on when a specific boss dies. (Currently, for testing purposes, I have an event setup to turn this switch on)
Page 2
Conditions: Self Switch: B = On
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Below
Trigger: Event Touch
Content:
Play SE: 'Move', 80, 100
Transfer Player: [Map] (Coords)
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Below
Trigger: Event Touch
Content:
Play SE: 'Move', 80, 100
Transfer Player: [Map] (Coords)
Event 2
Upper Left Door section.
Page 1
Conditions: Switch: [0101] = On
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Self Switch A = On
->
Else
->Conditional Branch: Switch: [0101] = On
--->Set Event Location: This Event, (028,009)
--->Control Self Switch: B = On
->Branch End
Branch End
Page 1
Conditions: Switch: [0101] = On
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Self Switch A = On
->
Else
->Conditional Branch: Switch: [0101] = On
--->Set Event Location: This Event, (028,009)
--->Control Self Switch: B = On
->Branch End
Branch End
Conditions: Self Switch: B = On
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Below
Trigger: Event Touch
Content:
Play SE: 'Move', 80, 100
Transfer Player: [Map] (Coords)
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Below
Trigger: Event Touch
Content:
Play SE: 'Move', 80, 100
Transfer Player: [Map] (Coords)
Event 3
Lower Left Door Section
Page 1
Conditions: None
Graphic:Custom (Lower Left Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Action
Content:
Conditional Branch: Switch [4984] = On
->Shake Screen: 1, 7, @350
->Wait: 150 frames
->Control Switch: [0103] = On
->Set Move Route (Wait)
--->Move up
--->Wait 3 frames
->Control Switch: [0101] = On
->Control Switch [0105] = On
Else
->Text
Branch End
Page 1
Conditions: None
Graphic:Custom (Lower Left Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Action
Content:
Conditional Branch: Switch [4984] = On
->Shake Screen: 1, 7, @350
->Wait: 150 frames
->Control Switch: [0103] = On
->Set Move Route (Wait)
--->Move up
--->Wait 3 frames
->Control Switch: [0101] = On
->Control Switch [0105] = On
Else
->Text
Branch End
Conditions: Switch [0102] is On
Graphic: Custom (Lower Left Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Switch [0102] = On
->Set Move Route (Wait)
--->Move up
--->Wait: 3 frames
->Control Switches: [0102] = Off
->Control Switches: [0105] = On
Branch End
Graphic: Custom (Lower Left Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Switch [0102] = On
->Set Move Route (Wait)
--->Move up
--->Wait: 3 frames
->Control Switches: [0102] = Off
->Control Switches: [0105] = On
Branch End
Event 4
Lower Right Door Section
Page 1
Conditions: None
Graphic:Custom (Lower Right Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Action
Content:
Conditional Branch: Switch [4984] = On
->Shake Screen: 1, 7, @350
->Wait: 150 frames
->Control Switch: [0102] = On
->Set Move Route (Wait)
--->Move up
--->Wait 3 frames
->Control Switch: [0101] = On
->Control Switch [0104] = On
Else
->Text
Branch End
Page 1
Conditions: None
Graphic:Custom (Lower Right Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Action
Content:
Conditional Branch: Switch [4984] = On
->Shake Screen: 1, 7, @350
->Wait: 150 frames
->Control Switch: [0102] = On
->Set Move Route (Wait)
--->Move up
--->Wait 3 frames
->Control Switch: [0101] = On
->Control Switch [0104] = On
Else
->Text
Branch End
Conditions: Switch [0103] is On
Graphic: Custom (Lower Right Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Switch [0103] = On
->Set Move Route (Wait)
--->Move up
--->Wait: 3 frames
->Control Switches: [0103] = Off
->Control Switches: [0104] = On
Branch End
Graphic: Custom (Lower Right Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Switch [0103] = On
->Set Move Route (Wait)
--->Move up
--->Wait: 3 frames
->Control Switches: [0103] = Off
->Control Switches: [0104] = On
Branch End
Switch 4984 (Used in events 3 and 4) is a switch that's turned on when a specific boss dies. (Currently, for testing purposes, I have an event setup to turn this switch on)
Oke, I'm gonna take a shot at this. Currently recreating to play around with it a bit, but looking through it quickly I wonder about a few things:
Upper right (and left) door, page 1:
Conditions: Switch: [0101] = On
Graphic: None
Options: Walking, Through
Movement: Fixed, x2 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Self Switch A = On
->
Else
->Conditional Branch: Switch: [0101] = On
--->Set Event Location: This Event, (029,009)
--->Control Self Switch: B = On
->Branch End
Branch End
Why the Self Switch A? I never see it get triggered and you could just check for the Off state instead of the On state and only using the Else section. Furthermore, why is it checking for Switch 101 again? We already established it is on, that's what triggered it in the first place.
Lower right (and left) door, page 1:
Conditions: None
Graphic:Custom (Lower Right Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Action
Content:
Conditional Branch: Switch [4984] = On
->Shake Screen: 1, 7, @350
->Wait: 150 frames
->Control Switch: [0102] = On
->Set Move Route (Wait)
--->Move up
--->Wait 3 frames
->Control Switch: [0101] = On
->Control Switch [0104] = On
Else
->Text
Branch End
What do Switch 104 and 105 do? I only see them being turned on, but never used.
Lower right (and left) door, page 2:
Conditions: Switch [0103] is On
Graphic: Custom (Lower Right Door Section)
Options: Walking
Movement: Fixed, x8 Slower, Normal
Priority: Same
Trigger: Parallel
Content:
Conditional Branch: Switch [0103] = On
->Set Move Route (Wait)
--->Move up
--->Wait: 3 frames
->Control Switches: [0103] = Off
->Control Switches: [0104] = On
Branch End
Again, no need to check the Switch with a Conditional Branch, the conditions for the event already checked this and nothing else but this event turns the switch off.
Now, I just assume you have an event somewhere that resets the various switches, since you state the door goes back to his initial setting. However, you don't seem to have a page in your upper door sections that reset the Self Switches. Right now I'm guessing that is your biggest bug.
My apologies. It was 2am when I wrote that. Switch 104 and 105 are remnents of another way I tried to accomplish this, and can be removed in the current setup.
Self Switch A can also likely be removed. I tried a lot of different stuff, and once I mostly had it doing what I wanted, I just stopped. Also with 101, I do understand their are redundencies that probably aren't needed, but I don't think it would be the cause of it not working.
As for resetting switches. You lost me there. I don't have any event anywhere that resets switches. I assumed that once a switch was turned on, it stayed on until something turned it off.
Self Switch A can also likely be removed. I tried a lot of different stuff, and once I mostly had it doing what I wanted, I just stopped. Also with 101, I do understand their are redundencies that probably aren't needed, but I don't think it would be the cause of it not working.
As for resetting switches. You lost me there. I don't have any event anywhere that resets switches. I assumed that once a switch was turned on, it stayed on until something turned it off.
No problem, just trying to make sure I have the full picture here.
What you assumed is right, switches stay on. Which means that when the player returns to the room and wants to use the door again, all your switches and self switches are still in the state they were when the player used it last time. Which means Switch 101 and Self Switch B for the upper parts are in fact still On, so if the player tries to use the door, the events of the upper part adopt the behavior of page 2.
So, upper door left / right are at their spot ( A | B ) but never reach page 1 of their event and start straight at page 2. If the user activates the lower part of the door, those event does what it is supposed to, cause 102 / 103 is off. So it turns that switch On, then goes along with page 2, attempting at moving it up. But the upper part won't reach the part where it alters it's location. I'm assuming you're moving that event with a reason, so the fact it doesn't reach that part anymore might cause things to go wrong.
I hope that makes any sense to you and helps you out a bit / steers you in the direction of a solution.
Ok. So when an event is checking for switches, it goes from right to left. (Starting with page 2, then page 1 in this case). And once it hits a page where it meets the criteria, it stops and doesn't progress to the next page?
*Edit* Or rather it does keep checking, but I turned off the transfer switch previously, and the event that turns it on isn't happening again?
I think I'm getting confused.
What I'm mostly trying to accomplish is the doors stay open. So when you exit the map, and come back, they're already open, and the transfer events are where they need to be. I'm not sure what I'd need to do to accomplish that.
*Editing as I go through what you said bit by bit*
So. I see what you mean about switch 101 and Switch B being on. So because Switch B is on, it goes to page 2. But does that stop page 1 from happening entirely? Because I figured as long as switch 101 was on, it would still do page 1, as well as page 2. If not, this may just be a matter of setting up an autorun that turns B off and sticking it on Page 3?
*Edit* Or rather it does keep checking, but I turned off the transfer switch previously, and the event that turns it on isn't happening again?
I think I'm getting confused.
What I'm mostly trying to accomplish is the doors stay open. So when you exit the map, and come back, they're already open, and the transfer events are where they need to be. I'm not sure what I'd need to do to accomplish that.
*Editing as I go through what you said bit by bit*
So. I see what you mean about switch 101 and Switch B being on. So because Switch B is on, it goes to page 2. But does that stop page 1 from happening entirely? Because I figured as long as switch 101 was on, it would still do page 1, as well as page 2. If not, this may just be a matter of setting up an autorun that turns B off and sticking it on Page 3?
When an event is deciding which page to execute, it first checks the conditions. When there are multiple pages whose conditions are met, the page with the highest number "wins" and will be executed.
And yeah, this:
And yeah, this:
Original thread: https://forums.rpgmakerweb.com/threads/event-system-support-expert-users-only.51/