BIS fnc sharedObjectives: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 3/7)
m (Text replacement - "Task Functions" to "")
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


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


| arma3 |= Game name
|gr1= Tasks


|1.00|= Game version
|descr= {{Feature|important|Meant to be run by the [[Arma 3: Task Framework]] in MP scenarions in postInit. Do not run it on its own!}}
____________________________________________________________________________________________


| <pre>/*
|s1= -
Author: Jiri Wainar


Meant to be run by the framework in MP scenarions in postInit. Do not run it by it's own.
|r1= -
*/


#define DEBUG_LOG {}
|x1= -
#define CMD_SLEEP uisleep
#define IS_SPECTATOR(unit) ((side group unit) == sideLogic) //todo: replace by proper function for detecting spectator unit
 
#define MODE_DISABLED 0
#define MODE_ENABLED 1
#define MODE_ENABLED_WITH_PROPAGATION 2
#define MODE_UPDATE 3
#define MODE_ADD 4
#define MODE_REMOVE 5
#define MODE_REASSIGN 6
 
#define MODES ["MODE_DISABLED","MODE_ENABLED","MODE_ENABLED_WITH_PROPAGATION","MODE_UPDATE","MODE_ADD","MODE_REMOVE","MODE_REASSIGN"]
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_sharedObjectives]]; --> |= Syntax
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso=  [[Arma 3: Task Framework]]
}}
}}
<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: Tasks|{{uc:sharedObjectives}}]]
[[Category:Functions|{{uc:sharedObjectives}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:sharedObjectives}}]]

Latest revision as of 10:49, 27 June 2021

Hover & click on the images for description

Description

Description:
Meant to be run by the Arma 3: Task Framework in MP scenarions in postInit. Do not run it on its own!
Execution:
call
Groups:
Tasks

Syntax

Syntax:
-
Return Value:
-

Examples

Example 1:
-

Additional Information

See also:
Arma 3: Task Framework

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