BIS fnc didJIP: 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


| arma3 |Game name=
| arma3


|1.34|Game version=
|1.34


|arg= |MPARGUMENTS=  
|arg= |MPARGUMENTS=  
Line 9: Line 9:
|eff= |Multiplayer Effects=
|eff= |Multiplayer Effects=


|gr1= Multiplayer |GROUP1=
|gr1= Multiplayer


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


| [] call [[BIS_fnc_didJIP]] |SYNTAX=
| [] call [[BIS_fnc_didJIP]]


| [[Boolean]] |RETURNVALUE=
| [[Boolean]]


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


|[[remoteExec]], [[remoteExecCall]], [[didJIP]], [[didJIPOwner]], [[exportJIPMessages]] |SEEALSO=
|[[remoteExec]], [[remoteExecCall]], [[didJIP]], [[didJIPOwner]], [[exportJIPMessages]]


}}
}}

Revision as of 00:03, 18 January 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:
[] 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


Bottom Section

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