Orange Custom Event Creator 1.0
Hudell
IntroductionHudell
This plugin Will let you create new events on the current map using script calls
How to Use
Those are the useful methods you can call to use this plugin:
Creating normal events:
Code:
$gameMap.createNormalEventAt(characterName, characterIndex, x, y, d, scriptOrCommonEventId, temporary)
characterName = the name of the spriteset
characterIndex = the index inside the spriteset
x = the x position where you want the actor to be
y = the y position where you want the actor to be
d = the direction you want the event to be facing (2 = down, 4 = left, 6 = right, 8 = up)
scriptOrCommonEventId = a script call or the number of a common event id. It will be executed when the player activates the event
temporary = true or false, indicates if the event will be deleted when the player leaves the map
Example:
Code:
$gameMap.createNormalEventAt('Actor1', 0, 15, 20, 2, 1, true);
Code:
$gameMap.createActorAt(actorId, x, y, d, scriptOrCommonEventId, temporary)
actorId = The number of the actor you want to use
x, y, d, scriptOrCommonEventId and temporary = same as in createNormalEventAt
Example:
Code:
$gameMap.createActorAt(1, 15, 20, 2, 1, true);
Code:
$gameMap.createTriggerEventAt(x, y, scriptOrCommonEventId, temporary)
Example:
Code:
$gameMap.createTriggerEventAt(15, 20, 1, true);
Code:
$gameMap.createTeleportEventAt(x, y, newMapId, newX, newY, newDirection, fadeType, temporary)
Create Parallel Process events:
Code:
$gameMap.createParallelProcess(scriptOrCommonEventId, temporary, autoErase)
Create any kind of event
Code:
$gameMap.addEvent(eventData, temporary)$gameMap.addEventAt(eventData, x, y, temporary)
Plugin
Get it from here
Dependencies
MVCommons
Orange Custom Events
FAQ
I'll keep a small FAQ here for easy reference.
Credit and Thanks
- Hudell