BIS fnc halt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| TKOH |Game name=
| TKOH


|1.00|Game version=
|1.00


|gr1 = Program Flow |GROUP1=
|gr1 = Program Flow


| Halts current function and all it is parents and logs an error message. |DESCRIPTION=
| Halts current function and all it is parents and logs an error message.


| [param1,param2,...,param10] call bis_fnc_halt; |SYNTAX=
| [param1,param2,...,param10] call bis_fnc_halt;


|p1= param1: [[String]] - Logged message ([[format|formatted]]). |PARAMETER1=
|p1= param1: [[String]] - Logged message ([[format|formatted]]).


|p2= param2 - param10: [[Anything]] |PARAMETER2=
|p2= param2 - param10: [[Anything]]


| [[Boolean]] |RETURNVALUE=
| [[Boolean]]
   
   
|x1= <code>["You are now supposed to be %1",[[rank]] [[player]]] [[call]] [[BIS_fnc_halt]];</code> |EXAMPLE1=
|x1= <code>["You are now supposed to be %1",[[rank]] [[player]]] [[call]] [[BIS_fnc_halt]];</code>


| |SEEALSO=
|


}}
}}

Revision as of 00:09, 18 January 2021

Hover & click on the images for description

Description

Description:
Halts current function and all it is parents and logs an error message.
Execution:
call
Groups:
Program Flow

Syntax

Syntax:
[param1,param2,...,param10] call bis_fnc_halt;
Parameters:
param1: String - Logged message (formatted).
param2 - param10: Anything
Return Value:
Boolean

Examples

Example 1:
["You are now supposed to be %1",rank player] call BIS_fnc_halt;

Additional Information

See also:
See also needed

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


Bottom Section