mapAnimDone: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "<code>\[\[private\]\] _([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>private _$1 = $2;</sqf>")
 
(52 intermediate revisions by 13 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#M|COMREF]]
{{RV|type=command


<h2 style="color:#000066">'''mapAnimDone'''</h2>
|game1= ofp
|version1= 1.27


|game2= ofpe
|version2= 1.00


'''Operand types:'''
|game3= arma1
|version3= 1.00


None
|game4= arma2
|version4= 1.00


'''Type of returned value:'''
|game5= arma2oa
|version5= 1.50


[[Boolean]]
|game6= tkoh
|version6= 1.00


'''Compatibility:'''
|game7= arma3
|version7= 0.50


Added in version '''1.27'''
|arg= local


'''Description:'''
|eff= local


Check if map animation is finished.
|gr1= Map
 
|descr= Check if map animation is finished.
 
|s1= [[mapAnimDone]]
 
|r1= [[Boolean]]
 
|x1= <sqf>private _isDone = mapAnimDone;</sqf>
 
|seealso= [[mapAnimAdd]] [[mapAnimClear]] [[mapAnimCommit]] [[ctrlMapAnimAdd]] [[ctrlMapAnimClear]] [[ctrlMapAnimCommit]] [[ctrlMapAnimDone]]
}}
 
<dl class="command_description">
<dt class="note">[[User:Ceeeb|Ceeeb]]</dt>
<dd class="note">
In '''OFP v1.96''', the mapAnim series of commands, together with [[forceMap]] can only be used in the intro and mission, as it is not possible to access the map from the outro. ''(not checked, sourced from an old copy of the OFPEC comref)''
</dd>
 
</dl>

Latest revision as of 21:22, 7 May 2022

Hover & click on the images for description

Description

Description:
Check if map animation is finished.
Groups:
Map

Syntax

Syntax:
mapAnimDone
Return Value:
Boolean

Examples

Example 1:
private _isDone = mapAnimDone;

Additional Information

See also:
mapAnimAdd mapAnimClear mapAnimCommit ctrlMapAnimAdd ctrlMapAnimClear ctrlMapAnimCommit ctrlMapAnimDone

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
Ceeeb
In OFP v1.96, the mapAnim series of commands, together with forceMap can only be used in the intro and mission, as it is not possible to access the map from the outro. (not checked, sourced from an old copy of the OFPEC comref)