BIS fnc debugConsoleExec: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:


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


|gr1 = Diagnostic
|gr1= Diagnostic


|descr= Executes Debug Console code.
|descr= Executes Debug Console code.
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>


|exec= call
|seealso= [[Arma 3: Debug Console]] [[BIS_fnc_isDebugConsoleAllowed]]
 
|seealso= [[Arma 3 Debug Console]] [[BIS_fnc_isDebugConsoleAllowed]]
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:debugConsoleExec}}]]

Latest revision as of 15: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