Skip to content

Show Battle Command Targets

Show Battle Command Targets

Displays targeting indicators on battlers for the specified battle command.

Properties

System

Name Explanation Type
Battle Command Unique ID The unique ID of the battle command whose targets will be shown. Variable or Value
Select All When enabled, targeting indicators will be shown on all available targets. Switch or Value
Select Random When enabled, a targeting indicator will be shown on a random target. Switch or Value
Target Unique ID The unique ID of the specific battler to show a targeting indicator on. Variable or Value

Examples

Show Targeting Indicator on a Specific Battler

This displays a targeting indicator on the battler identified by Global Variable 1 for the battle command identified by Global Variable 0.

show_battle_command_targets($gv[0], $gv[1]);
{"Data":{"BattleCommandUniqueID":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"","VariableIndex":0,"Metadata":null},"SelectAll":false,"SelectRandom":false,"TargetUniqueID":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"","VariableIndex":1,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Battle.ShowBattleCommandTargetsCommand"}

Show Targeting Indicators on All Available Targets

This displays targeting indicators on all available targets for the specified battle command.

show_battle_command_targets($gv[0], $gv[1], select_all: true);
{"Data":{"BattleCommandUniqueID":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"","VariableIndex":0,"Metadata":null},"SelectAll":true,"SelectRandom":false,"TargetUniqueID":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"","VariableIndex":1,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Battle.ShowBattleCommandTargetsCommand"}