The video tutorial for this page is coming later. Subscribe to the RPG Paper Maker YouTube channel to see it as soon as it is out.
This page describes every command you can add to a reaction, in the same categories as the commands window. When a command or an option is unclear, come back here.

Almost every number field can use a fixed value, a variable, a local variable, a parameter or a property, and many accept a formula (click the formula help next to the field for examples). Right click a command in a reaction to Test this command, or to disable it so it is skipped in the game.
Dialogs#
Show text#
Shows a text in a dialog box, with the current dialog box options.
- Interlocutor: the speaker's name, shown in a small box above the text. Empty: no box.
- Faceset: the character portrait shown with the text.
- The text editor: bold, italic, alignment, Font size, Font name, Text color, Back color, Outline color, and inserts for the value of a Variable, Local variable, Parameter, Property, a Hero name or an Icon.
Display choices#
Shows a list of choices; each choice gets its own commands. Put a Show text right before it to show the question and the choices together.
- Choices: the texts (with the same formatting as Show text).
- Cancel auto index: which choice is picked when the player presses Cancel.
0disables canceling. - Max number of choices to display at once (the list scrolls).
- Store choice index in variable: remember which choice was picked.
Input number#
Lets the player type a number. Like Display choices, you can show a text before it.
- Stock value in variable ID: where the number goes.
- Digits: how many digits.
Set dialog box options#
Changes how the next dialog boxes look.
- Window skin ID, Transform (X, Y, Width, Height) and Padding.
- Faceset: position (behind or above the window) and offset.
- Interlocutor: position and size of the name box.
- Text: Outline, Color ID (text, outline, background), Size ID, Font ID.
- Typewriter effect: show letters one by one, with the Interval (ms) between letters and an optional Sound and Volume.
Visual effects#
Change screen tone#
Changes the colors of the whole screen: Red, Green, Blue (0 changes nothing), Grey (100 = only greys), and an optional Adding color ID. Set a Time for a smooth change, and choose whether to wait the end of the change before the next command. To darken a place while keeping lights visible, prefer Change sunlight / ambient light.
Change fog#
Turns the fog on or off (Enable fog), with its Color ID and Intensity.
Change sunlight / ambient light#
Changes the Sunlight and/or the Ambient light (Color and Intensity), or goes back to the Default map properties values. Sync both changes both together. Keep values for other maps keeps the change after a teleport.
Shake screen#
Shakes the screen, for earthquakes or explosions: Offset (how far, in pixels), Shakes number (per second) and Time.
Flash screen#
Fills the screen with a Color ID, then fades back to normal over the Time.
Change weather#
Rain, snow, or Custom particles (a color or an image, number per portion, size, velocity, rotation…). None removes the weather. The Time makes a progressive transition.
Change map properties#
Changes properties of a map (Map ID): Tileset ID, Music, Background sound, Camera properties ID, and Sky (color or skybox).
Switch texture#
Replaces a texture of the current map by another one: a Tileset ID, Autotile ID, Wall ID, Mountain ID or 3D Object ID. Great for seasons (the Harvest Seasons DLC uses it).
Time#
Wait#
Waits a Time (in seconds) before the next command.
Change chronometer#
Start, Pause, Continue or Stop a chronometer (a countdown). When starting one: its Time, Display on screen, and the variable where its ID is stored. Pausing or stopping can store the remaining time in a variable. When it ends, the Chronometer finished event is sent.
Moves / Animations / Camera#
Teleport object#
Moves an object (usually the hero) to another map or place.
- Object ID.
- Position: Select a map and a position on a preview, Enter the map ID and coordinates, or the position of another object.
- Direction after the teleport.
- Transition: Start / End fade or zoom, or none.
Move object#
Moves an object with a list of moves, and can change its options.
- Object ID.
- Ignore if impossible: skip moves that are blocked. Unchecked, the object waits until the move becomes possible (useful for characters).
- Wait end: the command ends when all moves are done. Unchecked, the next commands run while it moves.
- With camera orientation: north/south/east/west follow the camera's orientation.
- Moves: Step / square moves (1 to north, south, east, west, the diagonals, random, to the hero, opposite to the hero, in front, back), Jump (final position offset, peak, time), moves by pixels.
- Change direction: turn north/south/east/west, turn 90° left or right, look at the hero, look away.
- Change object options: speed, frequency, move/stop/climb animation, direction fix, through, set with camera, pixel offset, keep position, Change graphics, Update transformations (position, rotation, scale, opacity over time). Permanent keeps the change after leaving the map.
- Wait, Play a sound, Script in the middle of the moves.
Display an animation#
Plays an animation (from the Data manager, Animations tab) on an object.
Move camera#
Moves, rotates and zooms the camera. See Camera.
Reset camera#
Puts back the camera properties after Move camera commands (the camera target doesn't change).
Create object in map#
Creates an object from a model at a position of the current map. Stock ID in variable ID remembers its ID, to move or remove it later. Permanent: the object is still there after leaving the map and in save files. Used for projectiles, dropped items, crops…
Remove object from map#
Removes an object. Permanent: it stays removed after leaving the map.
Modify light#
Add, Edit or Delete a light of an object (Object ID, Light ID). See Lights & atmosphere.
Media#
Display a picture/text#
Shows a picture, or a text, on top of the screen.
- Image ID (any image of the game), or a text.
- Index: pictures with a higher index are drawn on top. A new picture with the same index replaces the old one. A negative index draws it below videos.
- Origin (top left or center), Coordinates, Offset, Stretch (fill the screen).
- Effects: Zoom, Opacity, Angle.
Set a picture/text#
Changes a displayed picture (Image Index): Set a new image, zoom or opacity, Move it, Turn it, over a Time.
Remove a picture/text#
Removes the picture at an Image Index.
Play a video#
Play, Pause or Stop a video, from a Start time. Allow skip lets the player skip it with a key (optionally held: Maintain key).
Menus#
- Start shop menu: a shop to buy (and sell, unless Buy only) items, weapons and armors, each with a Price (default or specific) and a Stock (unlimited or specific). The Shop ID lets you restock it later.
- Restock shop: changes the stock of a shop by its ID.
- Enter a name menu: lets the player rename a hero, with Max characters.
- Open main menu, Close main menu, Open saves menu.
- Title screen, Game over: go to these screens.
- Play credits: scrolls the credits set in Title screen & game over.
Musics / Sounds#
- Play a music: a looping music, with Volume, Start and End times. Stop music fades it out over a time.
- Play a background sound / Stop background sound: a second looping channel (rain, wind…).
- Play a sound / Stop a sound: a sound effect on top of everything.
- Play a music effect: pauses the music, plays a short jingle, then resumes the music.
Objects interactions#
Send event#
Sends an event to objects. See Objects & events.
- Target: All objects of the map, the objects in a Detection ID (Sender can't receive, Only the closest), or one Object ID.
- Event: a system or user event, with its parameter values.
- Store last object ID in variable: remember which object received it.
Change state#
Replace all states of an object with one, Add a state, or Remove one. The object can be on another map (Map ID, Object ID). Don't change orientation keeps the direction it faces.
Modify property#
Changes a property of an object (this object, or another one by map and object ID) with an operation and a value.
Team#
- Modify currency: add, remove or set a currency.
- Modify inventory: add or remove items, weapons or armors.
- Modify team: Create new instance with level of a hero or monster in the team, reserve or hidden group (and store its instance ID), add an enemy of the battle to your team, or move/remove a Character with instance ID.
System parameters#
- Allow/Forbid saves and Allow/Forbid main menu.
Battles#
- Start a battle: a Troop ID (or a random one from the map properties), a battle map, Allow escape, Defeat causes Game Over (unchecked: you get commands for the victory and the defeat), and the Transition.
- Change battler graphics: a battler's Faceset, Battler and Battler pose, optionally Permanent.
- Display / Hide a battler: show a hidden enemy of the troop, or hide one.
- Transform a battler: turns an enemy into another Monster ID and Level.
- Force an action: a hero or enemy uses a skill or item on a target, now or on its turn.
- End battle: ends the battle (in troop reactions).
- Change battle music / Change victory music: for the next battles.
Heroes / Enemies#
These commands target a Hero / Enemy instance ID, or the entire team, reserve or hidden group.
- Change a statistic: change a statistic with a number, a formula, or the Maximum statistic value. Can go above maximum value, Apply change to maximum value.
- Change experience curve: the experience needed per level, for a range of levels.
- Change status: add or remove a status.
- Change a skill: Learn or Forget a skill.
- Change name and Change class.
- Change equipment: equip a weapon or armor in a slot. Apply only if in inventory.
Syntax#
- Condition: runs commands if conditions are true, with an optional else. See Variables & conditions.
- Loop: repeats its commands until Break loop.
- Label and Jump to label: jump to a named place of the reaction.
- Stop the reaction.
- Comment: a note for you, ignored in the game.
- Call a common reaction, with its parameter values.
Variables#
- Change variables and Change local variables. See Variables & conditions.
Advanced#
- Script: runs JavaScript.
$objectis the current map object. Use dynamic takes the code from a variable, parameter or property. - Plugin: runs a command of a plugin, with its parameters. See Plugins.