The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > UnderMybrella
Reload this Page Conversation Between UnderMybrella and Maruno
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read

Conversation Between UnderMybrella and Maruno
Showing Visitor Messages 1 to 2 of 2
  1. Maruno
    July 13th, 2013 6:32 AM
    There are two parts to an event in-game. The first part is the mechanics, which is basically everything you can see in map-making (pages, event commands, move routes, conditions, etc.). The second part is a sprite which shows the event.,y) only creates the first part, so of course you're not going to see it.

    As I've mentioned previously, looking at how dependent events work is a good start to being able to spontaneously create events. Making an event follow the player will erase that event and spontaneously create a copy of it which follows the player.

    Have a look in def createEvent. The first line in there creates the thing, while the rest of it creates and puts the RPG::Event into it (it becomes one part of a Game_Event, which has a sprite and all that jazz). Basically, copy all this, remembering to put in some properties otherwise it'll be a blank event at 0,0 and you won't be able to tell if it worked.

    Your task would be to keep track of your new events, and to create them using some hardcoded properties (e.g. make them move randomly) and some other properties (e.g. species, character_name); this is different to how dependent events do it, as they simply inherit all these properties (eventData) from their original event.
  2. UnderMybrella
    July 12th, 2013 3:44 PM
    Maruno, just out of curiosity, for the PMD starter kit, I've looked into, but there's only one problem - The event doesn't seem to have loaded onto the current map...
    Which makes me assume that I need to modify the current RPG::Map instance. Any idea how to do that?

All times are GMT -8. The time now is 8:02 PM.

Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2016 The PokéCommunity™,
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 - 2016 The PokéCommunity / Poké
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.

Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2016.