BIS fnc debugConsoleExec: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.00


Line 16: 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