Custom Code
Custom code allows you to inject custom JavaScript code into your strategy.
Add custom code
Use the following steps to add custom code:
- On the strategy tree, click +Add Experience > Add Custom Code panel opens.
- Enter a Code Block Name.
- Choose whether your custom code will replace the player:
- Yes: The custom code will replace the player.
- No: The custom code will execute before the player.
- In the JavaScript Code Editor field, enter the code to execute.
- Click Apply. The custom code appears on the decision tree.
Updated 7 months ago