The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.


Reply
 
Thread Tools
  #1    
Old March 28th, 2013, 05:44 PM
Yusshin's Avatar
Yusshin
♪ Yggdrasil ♪
 
Join Date: Jul 2009
Location: Quebec, Canada
Age: 21
Nature: Brave
So this is what I have:

Spoiler:


And I've read these two pages:

http://pokemonessentials.wikia.com/wiki/Events

Quote:
s:PBDayNight.isNight?(pbGetTimeNow) Is ON during the night (i.e. between 8pm and 6am), and OFF if it is not (i.e. during the day).
http://pokemonessentials.wikia.com/w...nsitive_events

But for some reason, at night-time, the museum doesn't display the messages, even though it should. When the player runs into the event, it doesn't display the message or send them down; it just doesn't do anything. Nothing at all. The player passes the event and that's it.

What is wrong with the event? Did I misunderstand something?

Oh, and the other two pages are standard door events, but with this Conditional Switch turned on (left-hand side conditions):

Quote:
s:PBDayNight.isDay?(pbGetTimeNow) Is ON during the day (i.e. between 6am and 8pm), and OFF if it is not (i.e. during the night).
Also,

How do I modify a trainer event to allow for variables?

Whenever I try, recompilation seems to erase anything "extra" added to the trainer, thus my Trainer Battles +1 variable disappears.

I could make all trainers without using COMMENTS, but that's not as easy, and when you have hundreds of trainers to do in a single game... /grawr
__________________


Polaret | Fourette | Ecuret | Axew | Zorua | Nanette [Shiny]
"My scar makes me sassy, child!"
The Big Bang Theory Fan Club - Click To Join!
The French Club

Last edited by Yusshin; March 28th, 2013 at 06:45 PM.
Reply With Quote
  #2    
Old March 30th, 2013, 11:37 AM
Yusshin's Avatar
Yusshin
♪ Yggdrasil ♪
 
Join Date: Jul 2009
Location: Quebec, Canada
Age: 21
Nature: Brave
Bump. Still don't know what's wrong with this.
__________________


Polaret | Fourette | Ecuret | Axew | Zorua | Nanette [Shiny]
"My scar makes me sassy, child!"
The Big Bang Theory Fan Club - Click To Join!
The French Club
Reply With Quote
  #3    
Old March 30th, 2013, 05:46 PM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
The page order. The page with the condition must be the last one. The RPG Maker XP checks the pages with conditions backward (first is the last page) and when the event match the conditions the page runs. If you have a page with no condition, this page is ran when checked in RPG Maker XP. If none page match the conditions nothing is ran.

When I says "runs" I mean activates by it trigger condition (Action Button, Player Touch, Autorun, etc...).
__________________
Reply With Quote
  #4    
Old March 30th, 2013, 07:59 PM
Yusshin's Avatar
Yusshin
♪ Yggdrasil ♪
 
Join Date: Jul 2009
Location: Quebec, Canada
Age: 21
Nature: Brave
Quote:
Originally Posted by FL . View Post
The page order. The page with the condition must be the last one. The RPG Maker XP checks the pages with conditions backward (first is the last page) and when the event match the conditions the page runs. If you have a page with no condition, this page is ran when checked in RPG Maker XP. If none page match the conditions nothing is ran.

When I says "runs" I mean activates by it trigger condition (Action Button, Player Touch, Autorun, etc...).
But all pages have conditions. The default door pages (page two and three) are the daytime switch, and the "museum is closed" page (page one) verifies if it's nighttime. That covers 6am-8pm and then 8pm-6am again.
__________________


Polaret | Fourette | Ecuret | Axew | Zorua | Nanette [Shiny]
"My scar makes me sassy, child!"
The Big Bang Theory Fan Club - Click To Join!
The French Club
Reply With Quote
  #5    
Old March 31st, 2013, 04:08 AM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Quote:
Originally Posted by Yusshin View Post
But all pages have conditions. The default door pages (page two and three) are the daytime switch, and the "museum is closed" page (page one) verifies if it's nighttime. That covers 6am-8pm and then 8pm-6am again.
Are you sure? Post the other pages here.

Before this try again. Try to remove the switchs conditions and try again. Made a event with script line 'p pbGetTimeNow' and copy-paste the result here.

Unrelated: I recommend the Essentials Translation System.
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 08:26 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.