BIS fnc didJIP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - "|size=0.75" to "|size= 0.75")
 
(44 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|Comments=
|game1= arma3
____________________________________________________________________________________________
|version1= 1.34


| arma3 |Game name=
|gr1= Multiplayer


|1.34|Game version=
|descr= Return whether or not the local player joined the game while it was already in progress. {{Feature|important|{{GVI|arma3|1.50|size= 0.75}} Use [[didJIP]] instead.}}


|arg= |MPARGUMENTS=
|s1= [] call [[BIS_fnc_didJIP]]
|eff= |= Effects in MP
____________________________________________________________________________________________


| Return whether or not the local player joined the game while it was already in progress. |DESCRIPTION=
|r1= [[Boolean]]
____________________________________________________________________________________________


| [] call [[BIS_fnc_didJIP]] |SYNTAX=
|x1= <sqf>if ([] call BIS_fnc_didJIP) then { forceRespawn player };</sqf>
 
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>[[if]] ([] [[call]] [[BIS_fnc_didJIP]]) [[then]] { [[forceRespawn]] [[player]] };</code> |EXAMPLE1=
____________________________________________________________________________________________
 
|[[remoteExec]], [[remoteExecCall]], [[didJIP]], [[didJIPOwner]], [[exportJIPMessages]] |SEEALSO=


|seealso= [[remoteExec]] [[remoteExecCall]] [[didJIP]] [[didJIPOwner]] [[exportJIPMessages]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:didJIP}}]]
[[Category:Functions|{{uc:didJIP}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:didJIP}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on March 25, 2016 - 14:25 (UTC)</dd>
<dt class="note">[[User:Revo|Revo]]</dt>
<dd class="note">
'''Instead of using this function one can use the engine command [[didJIP]] which does the exact same thing'''
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 12:09, 21 December 2022

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.
Arma 3 logo black.png1.50 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:
remoteExec remoteExecCall didJIP didJIPOwner exportJIPMessages

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