BIS fnc debugConsoleExec: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
Line 19: Line 19:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[1,{hint "Hello Players!"}] [[call]] [[BIS_fnc_debugConsoleExec]];</code>
|x1= <code>[1,{hint "Hello Players!"}] call [[BIS_fnc_debugConsoleExec]];</code>


|seealso= [[Arma 3: Debug Console]] [[BIS_fnc_isDebugConsoleAllowed]]
|seealso= [[Arma 3: Debug Console]] [[BIS_fnc_isDebugConsoleAllowed]]
}}
}}

Revision as of 21:36, 12 July 2022

Hover & click on the images for description

Description

Description:
Executes Debug Console code.
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
[target, code] call BIS_fnc_debugConsoleExec
Parameters:
target: Number -
  • 0 - local
  • 1 - global
  • 2 - server
code: Code - Code to be executed
Return Value:
Nothing

Examples

Example 1:
[1,{hint "Hello Players!"}] call BIS_fnc_debugConsoleExec;

Additional Information

See also:
Arma 3: Debug Console BIS_fnc_isDebugConsoleAllowed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note