BIS fnc debugConsoleExec: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
m (page filled)
Line 1: Line 1:
{{Function|= Comments
{{Function


| arma3 |Game name=
|game1= arma3


|1.00|Game version=
|version1= 1.00


<!---|arg= local |Multiplayer Arguments=--->
<!--|exec= server|=-->


<!---|eff= local |Multiplayer Effects=--->
<!--|arg= local-->


| <pre>/*
<!--|eff= local-->
Author:
Killzone_Kid


Description:
|descr= Executes Debug Console code.
Executes Debug Console code


Parameter(s):
|s1= [target, code] call [[BIS_fnc_debugConsoleExec]]
0: NUMBER - target (0: local, 1: global, 2: server)
1: CODE - code


Returns:
|p1= target: [[Number]] -
NOTHING
*0 - local
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=
*1 - global
*2 - server


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


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|r1= [[Nothing]]


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


|x1= <code></code>|Example 1=
|exec= call
 
|seealso= [[Arma 3 Debug Console]] [[BIS_fnc_isDebugConsoleAllowed]]


| |See also=
}}
}}
[[Category:Function Group: Debug|{{uc:debugConsoleExec}}]]
[[Category:Function Group: Debug|{{uc:debugConsoleExec}}]]
[[Category:Functions|{{uc:debugConsoleExec}}]]
[[Category:Functions|{{uc:debugConsoleExec}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:debugConsoleExec}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:debugConsoleExec}}]]

Revision as of 17:39, 10 January 2020

Hover & click on the images for description

Description

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

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