Clicking on the Create button in the Simple Messages panel at the top of the Actions Management page will take you to a form that lets you create a new simple message action.
The Action Name Panel lets you give your action a descriptive, meaningful name and contains 3 buttons that
- Create a New action
- Open an existing action
- Clone an existing action to a new action. Handy if you are setting up multiple similar actions.
This Action panel will become familiar as it is used by all the action management screens.
The Message Content panel lets you set the Heading and Message that will be sent to the game if your action is triggered in a campaign. If you are planning to localize this message you can provide friendly IDs for the content using the Heading ID and Message ID inputs. Content is localized with the ENGAGE -> MANAGE LOCALIZATION tool.
If you have already loaded localized content, you can simply select it from the “Select a localization” drop down list.
You can also specify if this Simple Message content should be sent to the player on EVERY successful Engage response, or just when they enter the campaign step that the content is attached to. By default the simple message content will not be set to return on every response.
You can also send Game Parameters along with your message. The Game Parameters panel is just the same as if you were creating a Game Parameters action.
N.B. You can control if Game Parameters and the Message Content are returned on EVERY successful Engage response independently, they both have their own “Return on every engage response” checkbox.
Finally, don’t forget to Save your action.
Your newly saved action will be listed on the Action Management Screen. There are two buttons beside each action so you can Edit or Delete them.
Your action will now be available for use when you are setting up campaigns
When a simple message is triggered by a campaign the resulting message and any game parameters will be passed back to the game in the Engage response.
"message": "Here's 100 Coins to get you started",
NB – Your game will be responsible for reacting to any message or game parameters that you pass back to it, so some planning and instrumentation is required when your developers are integrating with deltaDNA and planning your event collection and engagement specification.