Help - Search - Members - Calendar
Full Version: Common Event With Item
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
Moksock
Maker:
Im Using RPG Maker XP

Background:
Im trying to make a common event that can be linked to an item i made
What I would to happen in this common event is that if you use this item it asks were you would like to travel to, but you have to have maybe switch's or something activated by doing quests or something that will unlock that travel spot for that item to travel you to

Problem:
I have little to no scripting knowledge and i cant seem to grasp the concept on how to do common event scripting

Tried Solutions:
I looked at it and thought maybe i could use a conditional branch, but i couldn't think of how to incorporate the switch's with it
Taiine
Inside the database where you make the item, there is a section to call a common event. Bottom of the right side of the list of drop downs. That way whenever the item is used, it calls whatever you have as the common event.
Moksock
i know how to get to the common event's i just dont know how to write scripts for a common event, but that you for commenting i should have explained better im sorry
punk_blood
CODE
interpreter = Interpreter.new(0, false)
interpreter.setup($data_common_events[5].list, 5)
interpreter.setup_starting_event
interpreter.update



change the numbers to whatever common event number is
Moksock
thank you smile.gif
Redd
Wow, that helped me too! thanks punkblood
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.