BIS fnc didJIP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[[if]] ([] [[call]] [[BIS_fnc_didJIP]]) [[then]] { [[forceRespawn]] [[player]] };</code> |= Example 1
|x1= <code>[[if]] ([] [[call]] [[BIS_fnc_didJIP]]) [[then]] { [[forceRespawn]] [[player]] };</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:29, 7 April 2019


Hover & click on the images for description

Description

Description:
Return whether or not the local player joined the game while it was already in progress.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[] call BIS_fnc_didJIP
Return Value:
Boolean

Examples

Example 1:
if ([] call BIS_fnc_didJIP) then { forceRespawn player };

Additional Information

See also:
remoteExecremoteExecCalldidJIPdidJIPOwnerexportJIPMessages

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

Notes

Bottom Section

Posted on March 25, 2016 - 14:25 (UTC)
Revo
Instead of using this function one can use the engine command didJIP which does the exact same thing