-
Notifications
You must be signed in to change notification settings - Fork 1
Action
An action at its most basic level is a command and its parameters. When used in an <action> tag, the quotation marks should not be written.
Activates a dialog. It takes one parameter that is a series of dialogs.
The syntax for this is specified on the dialog page.
Activates a dialog. It takes one parameter that is a series of dialogs.
The syntax for this is specified on the dialog page.
Changes the current room to the specified room, and moves the character to it.
Syntax: "newRoom,newX,newY"
Changes the current room, to the specified room, and moves the character to it. If the specified SburbML file, which presumably contains the room being referenced, is not loaded yet, loads it first.
Syntax: "file,newRoom,newX,newY"
Have the target sprite play the specified animation.
Syntax: "sprite,animation"
This command also supports "char" in place of "sprite" to play this animation on the player.
Change the player's character to the one specified. Also changes the room to the one in which the new character is standing.
Syntax: "sprite"
Change the sprite the camera is focusing on.
Syntax: "sprite"
Make the specified audio asset play as the background music.
Syntax: "song"
Make the specified audio asset play as a sound effect.
Syntax: "sound"
Calls the changeRoom command, and applies transportalizer effects.
Syntax: changeRoom's syntax.
Calls the changeRoomRemote command, and applies transportalizer effects.
Syntax: changeRoomRemote's syntax.
Play the specified effect at the specified location.
Syntax: "effect,x,y"
Open the specified chest, display the specified sprite as its contents, and a message.
Syntax: "chest,sprite,message"
Take away player control, and wait for the specified trigger.
Syntax: see trigger syntax
Move the sprite from it's current position by the specified amount in pixels.
Syntax: "sprite,dx,dy"
Move the sprite to the specified location in pixels.
Sytnax: "sprite,x,y"
Add the specified sprite to the specified room. Warning: if this sprite is in another room, it will now be in both!
Syntax: "sprite,room"
Remove the specified sprite from the specified room. Even if a sprite isn't physically present anywhere, it can still be referenced by name.
Syntax: "spriteName, roomName"
Play the specified movie asset.
Syntax: "movieName"
Stops the specified movie asset.
(utility function used internally, not recommended for explicit use)
Syntax: "movieName"
Toggle the volume level (100->0->33->66->100). Used by the volume button.
Sytnax: takes no parameters
Add the given actions to a sprite.
Syntax: SburbML Action Sytax
Remove the given actions from a sprite
Syntax: spriteName, actionName, actionName, actionName, ... Note: Non-determinism may arise if multiple actions have the same name!
Present the given actions to the user as a set of choices. Note that unlike normal, is not assumed to be a choice.
Syntax: SburbML Action Sytax
Add the specified path as a walkable to the specified room
syntax: pathName, roomName
Add the specified path as an unwalkable to the specified room
syntax: pathName, roomName
Add the specified path as a motionpath to the specified room syntax: pathName, xtox, xtoy, ytox, ytoy, dx, dy, roomName
Remove the specified walkable from the specified room syntax: pathName, roomName
Remove the specified unwalkable from the specified room syntax: pathName, roomName
load in an additional SBURBML file syntax: path, keepOld
fade out to black syntax: none
Change the state of the specified button syntax: buttonName, state
Skip the current conversation syntax: none
Set a character to follow another character syntax: followerName, leaderName
Set a character to stop following another character syntax: followerName
Overlay a sprite over the game area (below the HUD) syntax: spriteName commands.
Remove an overlay syntax: spriteName
Takes no parameters, does nothing.