BIS fnc transportService: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
m (Wiki code cleanup)
Line 1: Line 1:
{{Function| arma2|1.00|gr1 = Supports| <pre>
{{Function
 
| arma2
 
|1.00
 
|gr1 = Supports
 
| <pre>
/*
/*
File: transportService.sqf
File: transportService.sqf
Line 15: Line 23:
N/A
N/A
*/
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small>
| [caller, vehicle, position, mainScope, secopScope] call [[BIS_fnc_transportService]]
|p1=


//MP framework init (used for move command given to transporter vehicle)
| [[Nothing]]
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small>| <!-- [] call [[BIS_fnc_transportService]]; -->|p1=| [[Nothing]]|x1= <code></code>|}}


|x1= <code></code>


|seealso=
}}


[[Category:Functions|{{uc:transportService}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:transportService}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:transportService}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:transportService}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:transportService}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:transportService}}]]

Revision as of 22:04, 22 January 2021

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
*/
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Supports

Syntax

Syntax:
[caller, vehicle, position, mainScope, secopScope] call BIS_fnc_transportService
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
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; };