Event System Support (expert users only)

Status
Not open for further replies.

Freeliner

Warper
Member
Joined
Mar 20, 2013
Messages
2
Reaction score
0
First Language
English
Primarily Uses
@Kopikatsu this is an event system support, meaning that whenever you're trying to come up with something complicated that ends in -system (battle system, character selection system, time system, farming system etc.) you post it here. Everything else gets its own topic, so please do that.
this seems exactly what Mageprince is trying to accomplish and I'm quite interested on how that would be done
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,346
Reaction score
11,940
First Language
English
Primarily Uses
RMMV
"cutscene event fading to black and white" is not a kind of "system". This is for evented SYSTEMS - like evented menu system, evented battle system, evented farming system.
 

Freeliner

Warper
Member
Joined
Mar 20, 2013
Messages
2
Reaction score
0
First Language
English
Primarily Uses
in order to do the cutscene you would need to use the event system 
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,346
Reaction score
11,940
First Language
English
Primarily Uses
RMMV
Event "SYSTEM" means many events working together to make a system. It does not mean the editor which allows you to create events. Read the text you just quoted from Celianna again ;)
 

Rik Vargard

Villager
Member
Joined
Mar 9, 2013
Messages
86
Reaction score
3
First Language
French
Primarily Uses
So here's my big problem:

 

-There's an event called "Police Station"

- There's a switch called "Patrol"

- There's a variable named "VAR"

- There are two Events 1 & 2 (not visible yet).

- If "VAR" is 0 nothing happens

- When exiting the current map, "Var" = 0 .

 

> When launching the event "Police Station", "Patrol" must be ON to launch "VAR" to choose between 1 & 2.

> Say Event 1 has been chosen (VAR=1) > So Event 1 is active (visible)

> I decide NOT to interact with Event 1 and leave the map.

> So "Var" = 0 !

> I come back to this map and yes, Event 1 is not visible anymore because VAR=0 and should be 1.

 

So...

 

> I can relaunch Event "Police Station" and this time it chooses 2! (VAR=2)

> Event 2 is active.

 

BUT !!! Event 1 also shows up out of nowhere !

But "VAR"=2 , not 1 !!

 

How is this possible and how can I fix this?

 

Any idea?

Thx!!

 

:) Rik
 

seita

Donn_M
Veteran
Joined
Feb 6, 2013
Messages
2,255
Reaction score
611
First Language
English
Primarily Uses
would be a lot easier if you posted a screenshot of the process that chooses what VAR equals, and the event with the conditional branch that VAR is tied to.

From just this, maybe you had the conditional as Less Than or Equal to?
 

Lunarea

Artist
Global Mod
Joined
Mar 1, 2012
Messages
8,847
Reaction score
7,843


Are you using that condition for your event page?

If so, it will activate on 1 and anything higher than 1.

To fix it, create a new page that has the condition "Variable is 2 or above" and leave it blank. Make sure it's placed after your Variable = 1 page. :)
 

Rik Vargard

Villager
Member
Joined
Mar 9, 2013
Messages
86
Reaction score
3
First Language
French
Primarily Uses
Thanks for your replies!

The thing is the the variable must be equal (==) or else other events will show up.

But after 3+ hours of sweat, tears and blood I did find a solution! Perhaps not the cleanest one but it works... :p

Page 1 > Parallel (no graphic) if VAR = 1 then Autoswitch A is ON

Page 2 > Action button >  if Autoswitch A is ON >show graphic then battle etc...erase...

And that's were the problem was because once I'm on page 2 nothing else will happen with this event until I trigger it .

So even if I leave the map and set VAR to 0 again, Event is still on Page 2 and waiting for Action Button.

So what I did is put a second condition for Page 2 : A switch "Show" that must be ON.

And I turn it OFF when leaving the map.

Well if you need screenshots for the explanation, just ask I'll put it all on here.

:) Rik
 

seita

Donn_M
Veteran
Joined
Feb 6, 2013
Messages
2,255
Reaction score
611
First Language
English
Primarily Uses
Screenshots would be nice, I feel like there may be more elegant solutions to your problem.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,346
Reaction score
11,940
First Language
English
Primarily Uses
RMMV
Also, please explain in regular terms what it is you're trying to accomplish. Instead of telling us what you've done (which obviously hasn't worked, or isn't the best way), tell us what you want the player to see when all of this happens. I read your post and am quite confused about WHY you want certain things to happen.


I agree - 3 pages sounds like too much, and I think having a parallel process event to check for a certain condition then turn on a self switch is not very elegant. If you continue using this approach because it works this time, you're going to end up with a rather messy project that will be difficult to fix, should you run into bugs down the track.
 

Rik Vargard

Villager
Member
Joined
Mar 9, 2013
Messages
86
Reaction score
3
First Language
French
Primarily Uses
Aye aye I hear that.

Sorry for being sloppy, I understand you.

PS sorry I don't get why the spoiler tags don't work..

So here's what I want to achieve :



 

So there's the Police station Event and Events Thugs 1, 2 & 3

 

When you enter the police station, you can choose your mission (just Thug Hunt now).

 

Here's the Police Event Page 1:






 

And Page 2:








 

So there's a random choice made to see what Thug Event will show up.

Technically there's three of each around the city, so yeah that makes 9 parallel processes.

The thing is also to have a Thug Event not showing up again (stay "invisible") after it's finished, when another Event has been choosen by Patrol VAR. unless it's the same one.

 

Here's the Thug Event:

 

Page 1:







 

And Page 2:






 

So I guess the big deal is to avoid all those events to be parallel processes?

 

:) Rik

 
 
Last edited by a moderator:

gpgekko

Nevermind me, I'll just cast shadows on your walls
Veteran
Joined
Jan 23, 2013
Messages
114
Reaction score
7
First Language
Dutch
Primarily Uses
You don't need the page with the parallel process. Since you have already checked the patrol var in your police station and turned the show1 switch on, you can do without it. I'm not to sure on the first page of the police station, I can't quite figure out what your intention with it is. You probably can do without that one too and furthermore you don't have to reset the patrol var to zero, because you set it to a random number so the old value gets overwritten. Also, since the thug event turns the show1 switch off when it is finished, you don't need to turn all other "show" switches off in the police station, they are already off. I think you have made a mistake in your police station event btw, because right now the thug hunt variable gets increased to 1 every time you defeat a thug event and then gets reset to 0 when you enter the police station. I doubt this is how you intended it to function.

Hope this helps a bit.
 
Last edited by a moderator:

Rik Vargard

Villager
Member
Joined
Mar 9, 2013
Messages
86
Reaction score
3
First Language
French
Primarily Uses
You don't need the page with the parallel process. Since you have already checked the patrol var in your police station and turned the show1 switch on, you can do without it. I'm not to sure on the first page of the police station, I can't quite figure out what your intention with it is. You probably can do without that one too and furthermore you don't have to reset the patrol var to zero, because you set it to a random number so the old value gets overwritten. Also, since the thug event turns the show1 switch off when it is finished, you don't need to turn all other "show" switches off in the police station, they are already off. I think you have made a mistake in your police station event btw, because right now the thug hunt variable gets increased to 1 every time you defeat a thug event and then gets reset to 0 when you enter the police station. I doubt this is how you intended it to function.

Hope this helps a bit.
Yup this helps a lot!

Got rid of the Police Page 1 and the turning off switches. Starting to get the logic here (I hope ).

About the Thug Hunt VAR, Since you have 3 of each event in the city, you're mission is complete when you defeated the three Events.

So the variable is set back to 0.

About Page 1 of Thug Event: That's because I want it to be invisible unless it has been chosen by Patrol VAR.

And I didn't find a button in the event commands that let me do so.

Well thx again, this thing is a mind challenge for an artist like me :)

Rik
 

gpgekko

Nevermind me, I'll just cast shadows on your walls
Veteran
Joined
Jan 23, 2013
Messages
114
Reaction score
7
First Language
Dutch
Primarily Uses
Yup this helps a lot!

Got rid of the Police Page 1 and the turning off switches. Starting to get the logic here (I hope ).

About the Thug Hunt VAR, Since you have 3 of each event in the city, you're mission is complete when you defeated the three Events.

So the variable is set back to 0.

About Page 1 of Thug Event: That's because I want it to be invisible unless it has been chosen by Patrol VAR.

And I didn't find a button in the event commands that let me do so.

Well thx again, this thing is a mind challenge for an artist like me :)

Rik
Yes, and maybe I'm mistaken, but I think the thug hunt variable is set back to 0 every time you enter the police station right now. And since you have to go back to the police station for every event to appear, it will never reach 3.

Even without the first page of the thug event, the event will be invisible until the show1 switch is turned on. And as far as I can see, that one will only be turned on when it has been chosen by the patrol var structure.
 

Rik Vargard

Villager
Member
Joined
Mar 9, 2013
Messages
86
Reaction score
3
First Language
French
Primarily Uses
Yes, and maybe I'm mistaken, but I think the thug hunt variable is set back to 0 every time you enter the police station right now. And since you have to go back to the police station for every event to appear, it will never reach 3.

Even without the first page of the thug event, the event will be invisible until the show1 switch is turned on. And as far as I can see, that one will only be turned on when it has been chosen by the patrol var structure.
Well you have to beat the 3 (same) events somewhere in the city, before you can go back in the station to choose another mission.

If you choose the same mission, the variable resets to zero see?

So I didn't know events didn't show up at all unless having the right conditions, thanks for that, no more 9 parallel processes :)

Now here's my new Police Page:

 

Uploaded with ImageShack.us
And My Event Page

 

Uploaded with ImageShack.us
NOW, there is that one problem where I launch the mission, and none of the Events show up!? 

How can that be?

Thx! :)

Rik
 
Last edited by a moderator:

Celianna

Tileset artist
Global Mod
Joined
Mar 1, 2012
Messages
10,532
Reaction score
5,539
First Language
Dutch
Primarily Uses
RMMV
Those 'SHOW' switches and conditional branches are useless, get rid of them. You are already using a variable to determine which thug should show up, so that's all you need. Instead of using the 'SHOW1' switch, use the variable as the condition instead. Be sure to create another event page at the end that will check if the variable is too high and leave this event page blank (so it won't show up if their number is not selected).


So first event page:


Condition: variable Patrol VAR is 1 (or higher)


Event graphic: the sprite thingy you have right now


Event: do what you wanna do here


Second event page:


Condition: variable Patrol VAR is 2 (or higher)


Event graphic: leave blank


Event: leave blank


Do this with the other 2 events as well.
 

Rik Vargard

Villager
Member
Joined
Mar 9, 2013
Messages
86
Reaction score
3
First Language
French
Primarily Uses
It doesn't work with the two pages.

After I beat the Event, it's still there.

And it seems logic to me since the variable hasn't changed during of after the event.

Note that the variable has to be equal (==) for the event to launch...

Perhaps if I reset the variable to 0 after each event?

The two pages :

Page 2 is blank

 

Celianna

Tileset artist
Global Mod
Joined
Mar 1, 2012
Messages
10,532
Reaction score
5,539
First Language
Dutch
Primarily Uses
RMMV
Obviously if you don't want the event to be there after you 'beat' him, create a THIRD event page with self switch A is on.
 

Rik Vargard

Villager
Member
Joined
Mar 9, 2013
Messages
86
Reaction score
3
First Language
French
Primarily Uses
Obviously if you don't want the event to be there after you 'beat' him, create a THIRD event page with self switch A is on.
Hah thank you ok now it's working. Even better since there are three of each event on the map!

So I got rid of the conditional branch, three switches and nine parallel events.

Nicenice!

Thank you so much everyone for your patience and help!

:) Rik
 

Celianna

Tileset artist
Global Mod
Joined
Mar 1, 2012
Messages
10,532
Reaction score
5,539
First Language
Dutch
Primarily Uses
RMMV
Thank you so much everyone for your patience and help!
You're welcome, though this wasn't actually a case of event system help but more general guidance on how event pages work. I suggest playing the Variables Guide as it teaches you how to use variables with event pages together.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

I prefer single roommates. After a hard day, all you want is sleep. I went to bed at 12. I was awakened at 2 because of my roommate laughing and whispering and stuff with her boyfriend on the phone. I didn't want to yell at her so I had to bear that cringy lovey dovey convo for half an hour, before I got so bored that I fell asleep again.
image i made on mon-die morning
Everyday I'm hustlin' hustlin'
And now I'm wondering if I only made progress in learning this engine because I was procrastinating on everything else I need to do...
from twitter:
Therapist: and what do we do with our trauma?
Me: give it to a character
Character: NO

Forum statistics

Threads
93,680
Messages
914,577
Members
123,280
Latest member
thehousx
Top