BIS fnc didJIP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "</dd> </dl>" to "</dd> </dl>")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Multiplayer
|gr1= Multiplayer


| Return whether or not the local player joined the game while it was already in progress. {{Feature|important|Use [[didJIP]] instead.}}
|descr= Return whether or not the local player joined the game while it was already in progress. {{Feature|important|Use [[didJIP]] instead.}}


|s1=s1=  [] call [[BIS_fnc_didJIP]]
|s1=s1=  [] call [[BIS_fnc_didJIP]]

Revision as of 20:48, 13 June 2021

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.
Use didJIP instead.
Execution:
call
Groups:
Multiplayer

Syntax

Syntax:
s1= [] 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
Posted on March 25, 2016 - 14:25 (UTC)
R3vo
Instead of using this function one can use the engine command didJIP which does the exact same thing