Moksock
Nov 9 2010, 04:46 PM
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
Nov 9 2010, 08:01 PM
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
Nov 10 2010, 01:40 PM
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
Nov 10 2010, 03:52 PM
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
Nov 10 2010, 07:40 PM
thank you
Redd
Nov 10 2010, 07:50 PM
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.