BIS fnc missileLaunchPositionFix: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|Comments=
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |Game name=
|gr1= Vehicles


|1.00|= Game version
|descr= Workaround fix for ATGM/SAM launch positions
____________________________________________________________________________________________


| <pre>
|s1= [vehicle, projectile, selection, projectileType] call [[BIS_fnc_missileLaunchPositionFix]]


/*
|p1= vehicle: [[Object]] - vehicle


Description:
|p2= projectile: [[Object]] - projectile
Workaround fix for ATGM/SAM launch positions


Parameter(s):
|p3= selection: [[Object]] - selection to adjust the missile's position to
0: OBJECT - vehicle
1: OBJECT - projectile
2: STRING - selection to adjust missile's position to
3: STRING - type of projectile that should be adjusted


Returns:
|p4= projectileType: [[Object]] - type of projectile that should be adjusted
BOOL - success
Example:
[_vehicle,_missile,"missile_move","MissileBase"] call BIS_fnc_missileLaunchPositionFix
*/


|r1= [[Boolean]] - returns [[true]] if successful


|x1= <sqf>[_vehicle,_missile,"missile_move","MissileBase"] call BIS_fnc_missileLaunchPositionFix;</sqf>


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
|seealso= [[missileTarget]] [[missileTargetPos]]
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_missileLaunchPositionFix]]; --> |SYNTAX=
 
|p1= |PARAMETER1=
 
| |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |SEEALSO=
 
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Vehicles|{{uc:missileLaunchPositionFix}}]]
[[Category:Functions|{{uc:missileLaunchPositionFix}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:missileLaunchPositionFix}}]]

Latest revision as of 15:51, 8 November 2023

Hover & click on the images for description

Description

Description:
Workaround fix for ATGM/SAM launch positions
Execution:
call
Groups:
Vehicles

Syntax

Syntax:
[vehicle, projectile, selection, projectileType] call BIS_fnc_missileLaunchPositionFix
Parameters:
vehicle: Object - vehicle
projectile: Object - projectile
selection: Object - selection to adjust the missile's position to
projectileType: Object - type of projectile that should be adjusted
Return Value:
Boolean - returns true if successful

Examples

Example 1:
[_vehicle,_missile,"missile_move","MissileBase"] call BIS_fnc_missileLaunchPositionFix;

Additional Information

See also:
missileTarget missileTargetPos

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