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 - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
*2 - server
*2 - server


|p2= code: [[Code]] - Code to be executed
|p2= code: [[Code]] - code to be executed


|r1= [[Nothing]]
|r1= [[Nothing]]


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


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

Latest revision as of 14:00, 8 November 2023

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