View Single Post
Old October 9th, 2012 (2:43 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
    Join Date: Jan 2008
    Location: England
    Posts: 5,189
    I have attached a screenshot of part of an example trading event which will be in the next Essentials. It shows how to predefine a Pokémon (referred to as "p"), modify it and then trade for it. Copy it and you won't go far wrong. This example sets several properties of the Pokémon, and setting its shininess is no different - just use p.makeShiny.

    The second screenshot I have attached shows how to require that the player's Pokémon (which they are trading away) have a particular type rather than be of a particular species. In this example, it needs to be a Water Pokémon.
    Attached Thumbnails
    adv trading.png‎   adv trading 2.png‎  
    Go to the Pokémon Essentials Wiki

    | Downloads | Tutorials | Fangames |
    | All Animations Project |

    Follow me on Twitter: @maruno42

    Reply With Quote