BIS fnc transportService: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Systems(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 8: | Line 7: | ||
|gr1 = Supports |GROUP1= | |gr1 = Supports |GROUP1= | ||
| <pre> | | <pre> | ||
Line 29: | Line 27: | ||
//MP framework init (used for move command given to transporter vehicle) | //MP framework init (used for move command given to transporter vehicle) | ||
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION= | </pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION= | ||
| <!-- [] call [[BIS_fnc_transportService]]; --> |SYNTAX= | | <!-- [] call [[BIS_fnc_transportService]]; --> |SYNTAX= | ||
Line 36: | Line 33: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code></code> |EXAMPLE1= | |x1= <code></code> |EXAMPLE1= | ||
| |SEEALSO= | | |SEEALSO= |
Revision as of 00:08, 17 January 2021
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:
- Supports
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Nothing
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; if (count _this > 5) then { _supportType = _this select 5; };