Noobcreator12

Veteran
Veteran
Joined
Dec 7, 2021
Messages
59
Reaction score
17
First Language
English
Primarily Uses
RMMV
Hello! I have done multiple events by now but for some reason, I can't seem to get this one to work. I tried playing a new a game to see if it would show up, nope nothing. I don't know what's going on. Does anyone have any ideas?
 

Attachments

  • event 1.png
    event 1.png
    126.4 KB · Views: 29
  • event 2.png
    event 2.png
    101.1 KB · Views: 29
  • event 3.png
    event 3.png
    109.1 KB · Views: 29

pawsplay

Veteran
Veteran
Joined
Mar 29, 2012
Messages
495
Reaction score
265
First Language
English
Primarily Uses
RMMV
I'm guessing your variable starts at 0, so the third page always triggers first, causing the first two never to play.
 

CleanWater

Independent Developer
Veteran
Joined
Apr 8, 2017
Messages
735
Reaction score
902
First Language
PT-BR
Primarily Uses
RMMV
I'm guessing your variable starts at 0, so the third page always triggers first, causing the first two never to play.

@pawsplay Already answered it correctly.
To fix this error, you need to either set your variable to a value less than -400 or change the value of the "Conditions trigger" to higher than 0.
 

Noobcreator12

Veteran
Veteran
Joined
Dec 7, 2021
Messages
59
Reaction score
17
First Language
English
Primarily Uses
RMMV
@pawsplay Already answered it correctly.
To fix this error, you need to either set your variable to a value less than -400 or change the value of the "Conditions trigger" to higher than 0.
Ok I changed the order and I got to work, but now it's not turning invisible after I cause the redgoodness to be = -400. Is there a specific order I need to have the events in>
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
4,969
Reaction score
4,552
First Language
English
Primarily Uses
RMMZ
Is there a particular reason your activation condition needs to be such a high negative value?
 

pawsplay

Veteran
Veteran
Joined
Mar 29, 2012
Messages
495
Reaction score
265
First Language
English
Primarily Uses
RMMV
What is the third page supposed to do, in your game?
 

CleanWater

Independent Developer
Veteran
Joined
Apr 8, 2017
Messages
735
Reaction score
902
First Language
PT-BR
Primarily Uses
RMMV
@Trihan and @pawsplay pointed some good questions. We need to understand what you are trying to achieve, so we can help you better.

If you just want to make the event invisible, you could use the Self Switch command. To use Variables, you need to have a particular reason to use certain values.
 

Noobcreator12

Veteran
Veteran
Joined
Dec 7, 2021
Messages
59
Reaction score
17
First Language
English
Primarily Uses
RMMV
@Trihan and @pawsplay pointed some good questions. We need to understand what you are trying to achieve, so we can help you better.

If you just want to make the event invisible, you could use the Self Switch command. To use Variables, you need to have a particular reason to use certain values.
So in each town, you can either accept a quest or decline it and lose goodness points. There are 4 quests in each town, each have 100 points to either add or subtract from your goodness point and said points can either effect the character associated with said town either positively or negatively.

The event in question is suppose to turn invisible once you reach redgoodness -400 (I see that I could probably change that number as it is awful high.) But it's not doing what it's suppose to or I have the wrong order.
 

pawsplay

Veteran
Veteran
Joined
Mar 29, 2012
Messages
495
Reaction score
265
First Language
English
Primarily Uses
RMMV
You don't need to make the event transparent if you just make the third page have no sprite and be Below the party.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
4,069
Reaction score
2,478
First Language
English
Primarily Uses
RMMV
The event in question is suppose to turn invisible once you reach redgoodness -400 (I see that I could probably change that number as it is awful high.)
So I might be misunderstanding still, but wouldn't you want the event to be disappear when your redgoodness is <= -400, not >= -400?

The trick is that there is no event page condition for less than, only greater than. So you would have to change how your alignment system is tracked to make this work correctly. Some possibilities:
- Make it check your alignment and set switches. I'd put this into a centralized common event, then when you want to change it, you set a variable and call the common event. So the event would do something like
Code:
Control Variable -> redgoodness + alignmentChangeAmountVariable
Conditional Branch -> redgoodness >= 400
    Control Switch -> redIsGood -> On
    Control Switch -> redIsBad -> Off
else
    Conditional Branch -> redgoodness <= -400
    Control Switch -> redIsBad -> On
    Control Switch -> redIsGood -> Off
and you could add more checks in between the values, if say from -200 to 200 he's neither good nor bad, whatever. Then all of your map events related to alignment would just check for those switches to be on.

- Change your alignment scale so it's all positive values. If it goes from -400 to 400 now, make it go from 0 to 800, and they start the game at 400. That makes all of your math and existing events work just the same, but you can order your event pages to check the conditions properly.

- Use two variables to check for good and bad, instead of one variable that goes into negatives. That way, your condition for this event page would be redbadness>=400
 

Latest Threads

Latest Profile Posts

After several days, my new pc is finally built and working. What an ordeal!
Quest_Shop_Plugin.png

Harold will need to do a lot of shopping on his quest, so I thought I'd try tackling the shop design tonight.
Never play a random encounter RPG on the toilet. Just don't. Especially not one with save points instead of menu saving.
spent the entire day working on problems I was having in battle. enemy's tagging in and out was one of them.
Check out the Driftwood gamejam submissions, there's some pretty good projects in there.

Forum statistics

Threads
121,962
Messages
1,145,481
Members
160,235
Latest member
minimint
Top