BIS fnc debugConsoleExec: Difference between revisions
Jump to navigation
Jump to search
m (infobox to template) |
m (page filled) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | |game1= arma3 | ||
|1.00 | |version1= 1.00 | ||
<! | <!--|exec= server|=--> | ||
<! | <!--|arg= local--> | ||
| | <!--|eff= local--> | ||
|descr= Executes Debug Console code. | |||
|s1= [target, code] call [[BIS_fnc_debugConsoleExec]] | |||
|p1= target: [[Number]] - | |||
*0 - local | |||
* | *1 - global | ||
*2 - server | |||
| | |p2= code: [[Code]] - Code to be executed | ||
| | |r1= [[Nothing]] | ||
| | |x1= <code>[1,{[[hint]] "Hello Players!"}] [[call]] [[BIS_fnc_debugConsoleExec]];</code> | ||
| | |exec= call | ||
|seealso= [[Arma 3 Debug Console]] [[BIS_fnc_isDebugConsoleAllowed]] | |||
}} | }} | ||
[[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
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
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