BIS fnc transportService: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 57: Line 57:
[[Category:{{Name|tkoh}}: Functions|{{uc:transportService}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:transportService}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:transportService}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:transportService}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on April 28, 2018 - 00:21 (UTC)</dd>
<dt class="note">[[User:Lou Montana|Lou Montana]]</dt>
<dd class="note">
''caller'' can only be [[player]] due to Arma 2 design: FSM overrides by {{Inline code|_clicker {{=}} [[player]]}} instead of {{Inline code|_clicker {{=}} [[_this]] [[select]] 0}}).<br />
Parameters displayed are incorrect, these are:
<code>_caller {{=}} [[_this]] [[select]] 0;
_veh {{=}} [[_this]] [[select]] 1;
_passedPos {{=}} [[_this]] [[select]] 2;
_mainScope {{=}} [[_this]] [[select]] 3;
_secopScope {{=}} [[_this]] [[select]] 4;</code>
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 02:21, 28 April 2018


Hover & click on the images for description

Description

Description:
/*
	File: transportService.sqf

	Description:
	Transportation system

	Parameter(s):
	1: <object> unit allowed to use the transport system
	2: <object> vehicle providing transport
	3: <array> positions to be chosen by player; accepted strings are "pickup" and "unload", the second position is defined by the next paramter (OPTIONAL)
	4: <position> (NEEDED ONLY IF PARAMETER #3 IS USED)

	Returns:
	N/A
*/

//MP framework init (used for move command given to transporter vehicle)
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

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

Notes

Bottom Section

Posted on April 28, 2018 - 00:21 (UTC)
Lou Montana
caller can only be player due to Arma 2 design: FSM overrides by _clicker = player instead of _clicker = _this select 0).
Parameters displayed are incorrect, these are: _caller = _this select 0; _veh = _this select 1; _passedPos = _this select 2; _mainScope = _this select 3; _secopScope = _this select 4;