---
name: "BIS_fnc_transportService"
type: function
status: ok
groups: ["Supports"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_transportService
revid: 327739
updated: 2022-07-13T10:40:56Z
---

# BIS_fnc_transportService

*Function · Supports · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Transportation system

## Syntax

```sqf
[caller, vehicle, position, mainScope, secopScope] call BIS_fnc_transportService
```

**Parameters:**

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

**Returns:** [Nothing](../topics/Nothing.md)

## Function header

The comment at the top of the function's file in the game; this page's description, params come from it.

```sqf
/*
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
*/
```

## Community notes

**Lou Montana** — 2018-04-28

*caller* can only be [player](../commands/player.md) due to Arma 2 design: FSM overrides by `_clicker = player` instead of `_clicker = _this select 0`).

Parameters displayed are incorrect, these are:

```sqf
_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;
};
```

<sub>Source: [BI Community Wiki — BIS fnc transportService](https://community.bistudio.com/wiki/BIS_fnc_transportService) (revision 327739).</sub>
