BIS fnc transportService: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(36 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|1. | |game2= arma2oa | ||
|version2= 1.50 | |||
| | |game3= tkoh | ||
|version3= 1.00 | |||
| <pre> | |game4= arma3 | ||
|version4= 0.50 | |||
|gr1= Supports | |||
|descr= <pre> | |||
/* | /* | ||
File: transportService.sqf | File: transportService.sqf | ||
Line 22: | Line 30: | ||
Returns: | Returns: | ||
N/A | N/A | ||
*/ | */</pre> | ||
</pre | |||
| [caller, vehicle, position, mainScope, secopScope] call [[BIS_fnc_transportService]] | {{Wiki|placeholder}} | ||
|s1= [caller, vehicle, position, mainScope, secopScope] call [[BIS_fnc_transportService]] | |||
|p1= | |p1= | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= | |x1= | ||
|seealso= | |seealso= | ||
}} | }} | ||
{{Note | |||
|user= Lou Montana | |||
|timestamp= 20180428002100 | |||
|text= ''caller'' can only be [[player]] due to {{arma2}} design: FSM overrides by <sqf inline>_clicker = player</sqf> instead of <sqf inline>_clicker = _this select 0</sqf>).<br> | |||
''caller'' can only be [[player]] due to | |||
Parameters displayed are incorrect, these are: | Parameters displayed are incorrect, these are: | ||
< | <sqf> | ||
_veh | _caller = _this select 0; | ||
_passedPos | _veh = _this select 1; | ||
_mainScope | _passedPos = _this select 2; | ||
_secopScope | _mainScope = _this select 3; | ||
_secopScope = _this select 4; | |||
if (count _this > 5) then | |||
_supportType | { | ||
}; | _supportType = _this select 5; | ||
</ | }; | ||
</sqf> | |||
}} |
Latest revision as of 11:40, 13 July 2022
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 */
- Execution:
- call
- Groups:
- Supports
Syntax
- Syntax:
- [caller, vehicle, position, mainScope, secopScope] call BIS_fnc_transportService
- Return Value:
- Nothing
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