BIS fnc curatorObjectEdited: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


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


| arma3 |= Game name
|gr1= Curator


|1.00|= Game version
|descr= Code executed when curator object is edited (i.e., moved or rotated). When a soldier or a vehicle is moved high above ground, create a parachute for them.
____________________________________________________________________________________________


| <pre>/*
|s1= [module, object] call [[BIS_fnc_curatorObjectEdited]]


Description:
|p1= module: [[Object]] - [[Arma 3: Curator]] module
Code executed when curator object is edited (i.e., moved or rotated).
When a soldier or a vehicle is moved high above ground, create a parachute for them


Parameter(s):
|p2= object: [[Object]] - object which was edited
0: OBJECT - curator module
1: OBJECT - edited object


Returns:
|r1= [[Boolean]]
BOOL
*/


#define EHVAR "BIS_fnc_curatorObjectEdited_eh"
|x1= <sqf>[module_curator, someObject] call BIS_fnc_curatorObjectEdited;</sqf>
#define PARAVAR "BIS_fnc_curatorObjectEdited_para"
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_curatorObjectEdited]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[Arma 3: Curator]]
}}
}}
<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: Curator|{{uc:curatorObjectEdited}}]]
[[Category:Functions|{{uc:curatorObjectEdited}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:curatorObjectEdited}}]]

Latest revision as of 18:27, 8 November 2023

Hover & click on the images for description

Description

Description:
Code executed when curator object is edited (i.e., moved or rotated). When a soldier or a vehicle is moved high above ground, create a parachute for them.
Execution:
call
Groups:
Curator

Syntax

Syntax:
[module, object] call BIS_fnc_curatorObjectEdited
Parameters:
module: Object - Arma 3: Curator module
object: Object - object which was edited
Return Value:
Boolean

Examples

Example 1:
[module_curator, someObject] call BIS_fnc_curatorObjectEdited;

Additional Information

See also:
Arma 3: Curator

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