The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Register New Account FAQ/Rules Chat 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  
Unread June 14th, 2012, 12:59 AM
BrakeNeck's Avatar
BrakeNeck
Unhatched Egg
 
Join Date: Jun 2012
Location: Council Bluffs, Iowa
Age: 22
Gender: Male
Nature: Jolly
Alright, so I am once again attempting something I am failing at.
I have tried this numerous ways, and I just cannot seem to get anything defined besides the Pokemon Species and Level. Now here is the exact event which I have been attempting to use, and the part which is failing.

Script:pbAddPokemonSilent(
: BSpecies::EEVEE,5) This Works
Script:poke.setGender(2) Trying to make it a female.
Script:poke.makenotshiny Trying to make sure it cannot be shiny
Script:poke.name="Insert name" Trying to name her.
Script:poke.setNature(PBNatures::QUIRKY) Trying to assign a quickry nature.

I am not sure what I am doing wrong. I have tried running these as one simultaneous event also, and it does not seem to function. I have also tried running the functions under these lines.

Script:pbAddPOkemonSilent(
BSpecies:EEVEE,5,
PBGender:Male,
PBName:"Fakemon",
PBNatures:Derp,
poke.MakeNotShiny)

I searched on Poke Essentials, and I searched these forums for this solution, If it is posted I obviously did not define my issue correctly. Either way, if someone could just let me know if this is a simple error, or something complex..And possibly help me fix this, that would be amazing. get back to me at your soonest convenience.
__________________
Completed Challenges
The Random Pokemon Challenge-Fire Red


Current Challenges
Ultimate Monotype-Fire
Combined Pokemon Solo Challenge Thread-Arcanine
Reply With Quote
  #2  
Unread June 14th, 2012, 01:32 AM
desbrina's Avatar
desbrina
Lightning Yellow Creator
 
Join Date: Feb 2011
Location: UK
Age: 24
Gender: Female
Nature: Quiet
in a script you'd do
poke=PokeBattle_Pokemon.new(PBSpecies::MAGIKARP,10,$Trainer)
poke.setGender(2)
pbAddPokemon(poke)

Its explained on this page
http://pokemonessentials.wikia.com/w...g_Pok%C3%A9mon
__________________
Creator of


A Pokemon Yellow remake, using HGSS Tiles, and the ability to obtain all Kanto Pokemon as well as their previous/later evolutions.

Current Give-away: None
Dates: Unknown

If your reporting a problem, please make sure you're using the latest version first. Please post the full error message if there is one, as well as what you were doing/did so that i can recreate it

Reply With Quote
  #3  
Unread June 14th, 2012, 01:52 AM
BrakeNeck's Avatar
BrakeNeck
Unhatched Egg
 
Join Date: Jun 2012
Location: Council Bluffs, Iowa
Age: 22
Gender: Male
Nature: Jolly
Quote:
Originally Posted by desbrina View Post
in a script you'd do
poke=PokeBattle_Pokemon.new(PBSpecies::MAGIKARP,10,$Trainer)
poke.setGender(2)
pbAddPokemon(poke)

Its explained on this page
http://pokemonessentials.wikia.com/w...g_Pok%C3%A9mon
I had actually seen the post, I just did not quite understand how to introduce that script. Thank you very much.

However, it still does not allow me to set a Nature, is this something that is not easily define? Or is it i now done using Numerals instead of the actual name? Just did a quick search and it bore no results. If you do not know off the top of your head I'll do a comprehensive search.
__________________
Completed Challenges
The Random Pokemon Challenge-Fire Red


Current Challenges
Ultimate Monotype-Fire
Combined Pokemon Solo Challenge Thread-Arcanine
Reply With Quote
  #4  
Unread June 14th, 2012, 11:26 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Gender: Male
Code:
poke=PokeBattle_Pokemon.new(PBSpecies::EEVEE,5,$Trainer)
poke.setGender(1)
poke.makeNotShiny
poke.name="Leeloo"
poke.setNature(PBNatures::QUIRKY)
pbAddPokemonSilent(poke)
That's exactly what you would need. Note that "makeNotShiny" is in camelCase, and the female gender is the number 1 (0 is male). You can still use the nature's name as shown.

Now, all of this must be in the same single "Script" event command for it to work. That's because the variable "poke" will be erased at the end of each "Script" event command, even if there's another immediately after it (and you don't want it to be erased until you've used it).

Remember that pbAddPokemonSilent won't show any messages, so you'll need to include some to say Eevee has been obtained.
__________________
Reply With Quote
  #5  
Unread June 14th, 2012, 01:03 PM
FL .'s Avatar
FL .
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Quote:
Originally Posted by Maruno View Post
Remember that pbAddPokemonSilent won't show any messages, so you'll need to include some to say Eevee has been obtained.
Or use pbAddPokemon instead.
__________________
Reply With Quote
  #6  
Unread June 14th, 2012, 01:17 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Gender: Male
Quote:
Originally Posted by FL . View Post
Or use pbAddPokemon instead.
No, that lets the player nickname the Pokémon. BrakeNeck doesn't want that.
__________________
Reply With Quote
  #7  
Unread June 14th, 2012, 02:42 PM
BrakeNeck's Avatar
BrakeNeck
Unhatched Egg
 
Join Date: Jun 2012
Location: Council Bluffs, Iowa
Age: 22
Gender: Male
Nature: Jolly
Quote:
Originally Posted by Maruno View Post
Code:
poke=PokeBattle_Pokemon.new(PBSpecies::EEVEE,5,$Trainer)
poke.setGender(1)
poke.makeNotShiny
poke.name="Leeloo"
poke.setNature(PBNatures::QUIRKY)
pbAddPokemonSilent(poke)
That's exactly what you would need. Note that "makeNotShiny" is in camelCase, and the female gender is the number 1 (0 is male). You can still use the nature's name as shown.

Now, all of this must be in the same single "Script" event command for it to work. That's because the variable "poke" will be erased at the end of each "Script" event command, even if there's another immediately after it (and you don't want it to be erased until you've used it).

Remember that pbAddPokemonSilent won't show any messages, so you'll need to include some to say Eevee has been obtained.

This all worked Beautifully, not sure if I was typing something wrong, or if defining Eevee without a gender(on Accident), THEN setting a nature was messing it up; but it works now.

Either way, it functions now; so I am excited. Thank you for the feedback guys. This issue is resolved.
__________________
Completed Challenges
The Random Pokemon Challenge-Fire Red


Current Challenges
Ultimate Monotype-Fire
Combined Pokemon Solo Challenge Thread-Arcanine
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

Forum Jump


All times are UTC. The time now is 05:14 PM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.