LogoLogo
GeneralAccountsPlayersOwnersCreatorsThe Sandbox Website
Creators
Creators
  • 🎆Welcome to the Creator Portal
  • 🟦Learn Creator Basics
    • 🟦Scale & LAND Use
    • 🟦Assets & Equipment
    • 🟦Avatars & Character
    • 🟦Look & Feel
    • 🟦Logic & Gameplay
    • ❓FAQs: Gameplay
    • ❓FAQs: Assets
    • 🧙‍♂️Begin Game Maker (Video Series)
  • The Sandbox Creators Forum
  • The Sandbox DAO
  • 🪙Monetisation
  • Game Maker
    • ✨Create Experiences
    • 🔰Beginners
      • Play/Test
      • Build with Blocks
      • Place Assets
      • Set Object Actions
      • Trigger Logic
      • Craft Quests
      • Set Up Mechanics
      • Build Multiplayer Games
    • Game Maker 0.11 Update
    • 0.11 Upgrade Guide
    • 📖Docs
      • Navigate Game Maker Home
      • Manage Experiences
      • Controls & Shortcuts
      • Build Menus
        • Top Bar
          • Gameplay
        • Side Bar
          • Hierarchy
          • Presets
        • Library & Quick Access Bar
        • Grid System & Snap Tool
        • Properties Panel
      • Using Blocks
      • Using Assets & Objects
        • Behaviour & Component Parameters
        • Tags
        • Messages
      • Behaviours
        • NPC - AI Pawns
          • 🔵Citizen
          • 🔵Farmer
          • 🔵Healer
          • 🔵Melee Enemy
          • 🔵Predator
          • 🔵Prey
          • 🔵Soldier
          • 🔴Friendly NPC
        • Movement
          • 🟡Door
          • 🟡Bird
          • 🔴Basic Platform
          • 🔴Advanced Platform
          • 🔴Projectile
          • 🔴Rotate
        • Basic Logic
          • 🔵Message Broadcaster
          • 🟢Combination Code
          • 🟢Asker
          • 🟢Timed Events
          • 🟡Crowd Event
          • 🔴Spawn Point & Avatar's Feature
        • Modifiers
          • 🔵Actor Property Switcher
          • 🔵Multi
          • 🔵Void
          • 🟢Asset Spawner
          • 🟢Replace Asset
        • Visual
          • 🟢Post Process Effects
          • 🟡Weather Switcher
          • 🟡Animated Decoration
      • Components
        • Actions
          • 🟢Climbable
          • 🟢Avatar Teleport
          • 🟢Collectable
          • 🟢Drop
          • 🟢Slide
          • 🟢Speaker
          • 🔴Pickable
        • Triggers
          • 🟢Plant
          • 🟢Switch
          • 🟢Button
          • 🟢Trigger Volume
        • Status
          • 🟢Toggle
          • 🟢Power Up
          • 🔴Avatar Checkpoint
          • 🔴Health
        • Gameplay
          • 🔵Defeat
          • 🔵Victory
          • 🔴Raycast
        • NFT
          • 🟢NFT Sensor
          • 🟢NFT Image Display
          • 🟢Image Display
          • 🔴NFT Details Display
        • Display
          • 🟢Indicator
          • 🟢Rarity VFX
          • 🟡Visual FX
          • 🟡Light
        • Audio
          • 🟡Play Sound
      • Objectives
      • Game Rules
        • Math
        • Time
        • Comparisons
        • Replace Variable Values
        • Game Screen
        • Triggers
        • Events
      • Build Singleplayer & Multiplayer Logic
      • Quality Guidelines
        • Optimisation
        • Testing
        • Playability
      • Templates
    • 📑Creative Guides
      • 📗Game Rules Guide
        • Point Race
        • Collect Points
        • Time Trial
        • Combo
        • Hunger
        • Poison
        • Shop
      • ⚙️Logic Guide
        • Abilities
        • Equipment Based Logic - On Equip / NFT Sensor
        • Doors & Chests
        • Collectibles
        • Text, Quests & Icons
        • Platforms
        • Victory & Defeat
        • Miscellaneous
        • NFT Inspect
        • Fighting
      • 🏞️Experience Guide
        • Tower Defense
        • Horror / Backrooms
        • Solo Platforming
        • Social Platforming
        • Resource Management
        • Cooking Simulator
        • Survival
        • Action / Adventure
        • Night Clubs & Concerts
        • Virtual Home & Architecture
        • NFT Gallery / In-Game Shop
        • Puzzle Games
        • Social Hubs
        • Simulation
      • 🎲Experience Design Techniques
        • Narrative Design
          • Worldbuilding
          • Storyboard
          • Dialogue
        • Art Design
          • Experience Art Concept
          • Asset Curation
          • Blockout Aesthetics
          • Detailing / Dressing
        • 3D Spatial Layout
          • Rough Base Map
          • Greyboxing / Blockout
        • Game Design
          • Ramp of Difficulty
          • Risk & Reward
          • Game Loops & Decisions
    • 🎬Game Production Guide
      • 🟥Concept
      • 🟧Blockout
      • 🟨Logic
      • 🟩Art
      • 🟦Quality Assurance
      • 🟪Polish
      • ⬜Marketing
    • 🧰Publish Experiences
      • Experience Manager
        • Experience Analytics
        • 🧰Experience Page
          • Content Guide
          • Marketing
          • Create an Experience Trailer
          • Player Engagement
        • Map Location
        • Asset Review
        • Access Restrictions
      • Collaborating With Third Parties
      • ❓FAQs: Experience Publishing
    • 🕘Version Notes & Changelogs
      • Game Maker 0.11
        • ❗0.11 Upgrade Guide
      • Game Maker 0.10
      • Game Maker 0.9
      • Game Maker 0.8
      • Game Maker 0.7
    • ❓FAQs: Game Maker
  • VoxEdit
    • ✨Create Assets
    • 🔰Beginners
    • 📖Docs
      • Navigate VoxEdit Home
      • Controls & Shortcuts
      • Panels & Custom Layouts
      • Block
      • Modeler
        • Use Modes & Tools Together
        • Set the Pivot Point
        • Create Frame Assets
      • Animator
        • Build a Rig
        • Create an Animated Asset
        • Use Inverse Kinematics
      • Templates
      • Quality Guidelines
        • Asset Types & Collisions
        • Asset Scale
        • Node Efficiency
        • Pivot Point & Alignment
        • Animation
        • Visual Quality
        • Asset Name & Description
        • Manage Files & Folders
    • 📑Creative Guides
      • 🧍Asset Guide
        • Structures & Landmarks
          • Basic Building: No Entry
          • Animated Building: No Entry
          • Unanimated Building: Player Entry
          • Landmark
          • Building Facade
          • Structure Component Parts
          • Modular Architecture
        • Humanoids & Animals
        • Vehicles
        • Equipment
        • Art: Statues, Paintings
          • Animated Art Screens
          • Statues
          • Kinetic Art Sculptures
          • Paintings
          • Performance Art
        • Furniture
        • Platforms
        • Doors, Gates, and Windows
          • Multi Design Door Asset
        • Chests & Other Animated Interactions
        • Plants, Trees
        • Objects, Machines
        • Signs & Text
        • Obstacles
        • Create Frame Assets
      • 🎨Art Techniques
        • Asset References
        • 3D Design
          • 🧹Need to Simplify?
          • ✂️Trim All Volumes
          • 🟢Optimize with Texture
          • 🟢Curved Edges: Blocky Style
          • 🟡Break Down Objects
          • 🟡Create Smooth Angled Lines
          • 🟡Circular Shapes: Cross Technique
        • Colour, Texture & Depth
          • 🪅Colour Choice & Strategy
          • 🧱Textures & Materials
    • 🧰Upload Assets to Workspaces
    • 🌟Mint & List Assets to Sell
    • 🕘Changelogs
    • 🔓Open Source Assets
    • ❓FAQs: VoxEdit
  • Creators Program
    • 🏗️Builders' Challenge
      • Rules & Eligibility
      • Earnings & Rewards
      • How to Succeed in the Builders' Challenge
      • ❓FAQs: Builders' Challenge
    • ℹ️Creator Contests
    • 🏆Game Jams
      • Rules & Guidelines
      • Judges & Voting
      • Explore Past Winners
      • ❓FAQs: Game Jams
    • 🏆VoxEdit Contests
      • Rules & Guidelines
      • Judges & Voting
      • Explore Past Winners
      • ❓FAQs: Voxel Art Contests
  • General
    • 📚The Sandbox Documentation
    • 🔄Play, Create & Earn
    • 🗺️Map
    • 🛒Marketplace
    • 🗣️Discord Community
    • 🔗Social Networks, News & Blogs
    • The Sandbox Linktree
    • ❓Help & Contact
Powered by GitBook
LogoLogo

INFO

  • Discord
  • Social, News & Blogs
  • Service Status

PLAY

  • Events
  • Map
  • Avatar

CREATE

  • VoxEdit
  • Game Maker
  • Contests

OWN

  • SAND
  • LAND
  • Staking

Copyright ©The Sandbox. All Rights Reserved.

On this page
  • What are Messages?
  • Managing Messages

Was this helpful?

  1. Game Maker
  2. Docs
  3. Using Assets & Objects

Messages

Objects can send and receive messages to create an interactive experience.

PreviousTagsNextBehaviours

Last updated 1 year ago

Was this helpful?

What are Messages?

Messages

Messages are signals used to create a flow of logic between players, objects, and quests. An action triggers a message to be sent, leading to one or more outcomes.

Behaviours and components are bundled logic designed to listen for and broadcast messages.

Example:

A player's action of pressing the E key in front of a door sends the message Interact, and the door opening is the outcome.

Tags

Tags are identifiers attached to objects, making it easy to send a message precisely when needed.

Example:

Say you want to change the weather to a specific setup, but have multiple weather objects in the same area that are listening for the same message. Set the message to go to SpecificTagsInRange, add the tag you want to send it to, and apply the tag to the Weather Switcher object you want to receive the message.

Using Messages

Some behaviours and components listen for one or several messages to be received. Some allow one or several messages to be sent.

There are many ways to use Game Maker's logic tools to create one or more outcomes from an action. You can create short or long strings of events, and you can also create branching logic that gives players more choice or includes random events that influence other outcomes.

Default Messages

Pressing the E key when standing next to an object sends the default message Interact.

When you apply a Door behaviour to an object, by default the object will listen for the message Interact and plays an open animation as an outcome.

If you open the Message required dropdown list in any behaviour or component, you'll see there are other default messages that exist in every Experience you create.

Some of these defaults are automatically bundled into an object's properties (along with default tags) when a behaviour or component is applied. This allows for fast functional gameplay.

Default tags and messages can be changed to create customised interactions and unique gameplay mechanics.

Example:

You can create factions of soldiers fighting in a battle by changing their Tags to Attack and applying the same tag on every object considered to be their enemy.

Some default messages will need to be changed to customise your Experience logic.

Special Messages with Arguments

Special messages with arguments are used to transition light, sound, and camera effects.

In the message dropdown box of a behaviour or component, select a special message with arguments (yellow text). A parameter will appear to customise the timing, colour, etc.

Play Sound Component

Uploading custom content for use with Video and Audio Streaming behaviours is limited to The Sandbox and select partners. These features are in development for public use.

Audio Pause - Fade the audio it is playing to pause. Audio Play - Fade the audio it is NOT playing to play. AudioStop - Fade the audio it is playing to stop. SoundVolume - Set audio volume for an object to blend audio.

Light Component

LightColor - For a target object with Light Behaviour, fade between the current light setting to a colour chosen in the message's arguments.

Post Process Effects Behaviour

PostProcessFade - For a target object with Post Process Effects Behaviour, fade between the current effects setting to the target object's setting.

Weather Switcher Behaviour

Buff/Debuff Messages with Arguments

There are five default messages available with blue text that are special messages with arguments that trigger buffs/debuffs:

  • Attack Power

  • Damage Resistance

  • Health

  • Oxygen

  • Speed

Use positive or negative numbers to increase or decrease these values. Note that these do not stack, and oxygen and health do not exceed the maximum value.

Game Maker 0.9's new buff/debuff system replaced Heal and Damage messages.

Custom Messages with Arguments

Any new message can be created as a normal message or a message with arguments. If you create an argument, you can send additional information with the message, set in the logic from which you send the message. You can also name the argument.

The message triggers a rule that awards players points, and each collectable object can specify a different amount of points in the argument to add to your score when the items are collected.

Managing Messages

By default, setting the message to ‘none’ is the same as setting a message to empty.

Use an Existing Message

To use an existing Message in a behaviour or component's logic, click the Message Required dropdown and begin typing in the name of the message you wish to use. The list will populate with all the existing related messages. Click a message in the list to select it.

Create a Custom Message

To create a new message to use in a behaviour or component's logic, click ADD+ if no message is applied yet or click on the existing message.

This will open a dropdown list of existing messages. Begin typing the message you wish to add. Click the green text ADD 'your message' to apply it.

Remove a Message from an Object's Logic

To remove a message from a behaviour or component, click the X to the right of the message.

Delete a Message from the Experience's Message List

In the top right corner of Game Maker, click on the gear icon to open Settings. There you will be able to access a list of all messages included in your Experience and delete any custom messages you've created.

WeatherFade - For an object with Weather Switcher Behavour, fade between the current weather setting to the target object's setting. Weather changes override defaults set in the tab of the Gameplay menu.

Example: Collectable Objects Awarding Points

Messages can be directed in a variety of ways to customise logic.

📖
(Collect Points Rules Preset)
Ambiance
Learn more