BIS fnc carrier01PosUpdate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - " \[\[Category:\{\{Name\|arma3\}\}:[_ ]Functions\|[^ ]+\]\]" to "")
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


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


| arma3 |= Game name
|gr1= Aircraft Carrier


|1.00|= Game version
|descr= <pre>/*
____________________________________________________________________________________________
 
| <pre>/*
Author: Bravo Zero One development
Author: Bravo Zero One development
- John_Spartan
- John_Spartan
Line 37: Line 35:
and
and
1: array of objects in variable in base objects namespace ["bis_carrierParts", []];
1: array of objects in variable in base objects namespace ["bis_carrierParts", []];


Returns: nothing
Returns: nothing
Result: Aircraft Carrier's possition is updated in EDEN editor.
Result: Aircraft Carrier's possition is updated in EDEN editor.


*/
*/</pre>
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_Carrier01PosUpdate]]; --> |SYNTAX=
{{Wiki|placeholder}}
|p1= |PARAMETER1=


| |RETURNVALUE=
|s1= <!-- [] call [[BIS_fnc_carrier01PosUpdate]] -->
____________________________________________________________________________________________


|x1= <code></code> |=
|r1=
____________________________________________________________________________________________


| |SEEALSO=
|x1=


|seealso=
}}
}}
<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: AircraftCarrier|{{uc:Carrier01PosUpdate}}]]
[[Category:Functions|{{uc:Carrier01PosUpdate}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:Carrier01PosUpdate}}]]

Latest revision as of 02:49, 13 June 2021

Hover & click on the images for description

Description

Description:
/*
	Author: Bravo Zero One development
	- John_Spartan

	Description:
	- This is a sub function designed to update dynamic aircraft carriers position in EDEN editor. Carrier consists of multiple sub-objects that are linked together bnased on precise memory point positions in 3D space.
	Function will update initial object positions when player drggs the object in EDEN editor.

	Exucution:
	- Call from EH on the main carrier base model (blank model with momory points and reference config).

		Example:
		class Eventhandlers
		{
			init = "_this call BIS_fnc_Carrier01Init";								//main init fnc, will assemble carrier in game
			AttributesChanged3DEN = "_this call BIS_fnc_Carrier01EdenInit";			//function to update objects position in EDEN editor if attributes changed by player
			Dragged3DEN = "_this call BIS_fnc_Carrier01PosUpdate";					//function to update objects position in EDEN editor if attributes changed by player
			RegisteredToWorld3DEN = "_this call BIS_fnc_Carrier01EdenInit";			//initial EDEN init fnc (main init is still called)
			UnregisteredFromWorld3DEN = "_this call BIS_fnc_Carrier01EdenDelete";	//function  to delete all carrier objects in EDEN editor
		};

	Requirments:
	- An array of carrier parts/objects as a variable attached to main carrier base. This array is created by main BIS_fnc_Carrier01Init.

	Parameter(s):
		_this select 0: mode (Scalar)
		0: carrier Base/object
		and
		1: array of objects in variable in base objects namespace ["bis_carrierParts", []];

	Returns: nothing
	Result: Aircraft Carrier's possition is updated in EDEN editor.

*/
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
Execution:
call
Groups:
Aircraft Carrier

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Examples:
Example needed

Additional Information

See also:
See also needed

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