Party event

Kamayak

Villager
Member
Joined
Jun 21, 2016
Messages
18
Reaction score
1
First Language
Danish
Primarily Uses
I'm trying to create an event that should be fairly simple, I've created an event to show a figure sleeping on a simple bed, based on whom is in the group, they work perfectly separately, but when all 3 run at the same time, the first 2 events show the same figure, to try and fix it I made the first event have self switch A, second has self switch B and the last has C on all the figurs events, to make this error even worse, when the events is set as action button instead of parralel process it shows the correct figur... please help, I'm SO confused!


(The dessert tent event is activated when the player enters the tent)

problem.png

problem1.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Don't use parallel processes and don't check it with conditional branches that way.


There is a much simpler way - use the "actor exists" condition.


That means that an event page gets activated when that specific actor is in the party.


So make one event for each of the four actors, give it the sprite of the sleeping actor on its single page, and check the condition actor exists for that specific actor.


If that actor is in the party, the sprite will be visible in the tent - if not that event will remain hidden.


If you need to place different sprites on the same position (for example because the rooster from which the party members can be taken is larger but you don't want one bed for everyone), then you need to structure the event differently, because you need to order all checks based on who is already displayed - you got double because you didn't order the branches in the correct way.


If that is the case, we need to see screenshots of all the controlling pages.
 

Kamayak

Villager
Member
Joined
Jun 21, 2016
Messages
18
Reaction score
1
First Language
Danish
Primarily Uses
we need to see screenshots of all the controlling pages.
Well, here they are, the thing is that this is supposed to be a simple version... 


I was hoping to place all the group combinations in these events so the player can pick any 3 person combo of the 6 avalible without the event messing the sprites up

problem2.png

problem1.png

problem3.png

problem4.png

problemevent2,1.png

problemevent2.png

problemevent2,2.png

problemevent2,3.png

problemevent3,1.png

problemevent3,2.png

problemevent3,3.png

problemevent3.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Please use spoiler tags to hide your pictures, it makes reading easier.


As I thought, you made a logic mistake - in such a case, the three beds must not have the same logic conditions, that will always result in your problems.


First question: how many different actors do you plan to have? because with only three like in your event pages, that is needlessly complicated and it would be much easier to use the structure I explained above.


Here is an example - that is all you need to display the sleeping actor including the show balloon command only when it is in the party, and not display it if it is not in the party.


sleepevent.png
 
Last edited by a moderator:

Kamayak

Villager
Member
Joined
Jun 21, 2016
Messages
18
Reaction score
1
First Language
Danish
Primarily Uses
how many different actors do you plan to have?
I can see your point with what you showed me and for that you have my thanks :)


as to your question, the party in the game will have 4 at max (the player + 3 actors), all in all there is 6 actors to choose from.


The reason I tried what I did, was because I thought that it would be the best way to sort in the 20 party combinations
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
With only six different actors, it would be simpler to use my method of six different events for each actor.


However, if you still insist on using a determining structure for only four beds/places/events for the actors, here's the principle on how to do it (you'll have to work out the details yourself):


The first bed needs to check for all six actors, and it needs to do that in a pre-selected order of priority. This can be done like you did all your events, but you need to add a switch "is in bed" for each actor to prevent double placement.


The second bed can ignore the first actor option and needs only to check for the remaining five actors - if the first actor is there, it will already be in the first bed.


But for the case that the first actor isn't in the party and some other actor is in the first bed, you need not only to check for actor in party but also for switch "in Bed" NOT set - only if the actor is in party but not yet in bed it can be placed (and then needs the switch as well to prevent placement in the next bed).


For that to work, you also need that entire logic in a single page - don't switch to another page when the first bed is placed like you did above.
 

Kamayak

Villager
Member
Joined
Jun 21, 2016
Messages
18
Reaction score
1
First Language
Danish
Primarily Uses
With only six different actors, it would be simpler to use my method of six different events for each actor.
just out of curiosity, how would it work with the way you suggested it?
I tried to see if I could figur out how that would work in my scenario...
but it seems like it would only work if there was beds for each actor... :distrust:
 

Kamayak

Villager
Member
Joined
Jun 21, 2016
Messages
18
Reaction score
1
First Language
Danish
Primarily Uses
However, if you still insist on using a determining structure for only four beds/places/events for the actors, here's the principle on how to do it (you'll have to work out the details yourself)
The event is now finished, I thank you for your input and wish you luck in the future :D
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
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'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top