BIS fnc missileLaunchPositionFix: Difference between revisions

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


|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.00


<!--|exec= server|=-->
|gr1= Vehicles
 
<!--|arg= local-->
 
<!--|eff= local-->


|descr= Workaround fix for ATGM/SAM launch positions
|descr= Workaround fix for ATGM/SAM launch positions
Line 15: Line 10:
|s1= [vehicle, projectile, selection, projectileType] call [[BIS_fnc_missileLaunchPositionFix]]
|s1= [vehicle, projectile, selection, projectileType] call [[BIS_fnc_missileLaunchPositionFix]]


|p1= vehicle: [[Object]] - Vehicle
|p1= vehicle: [[Object]] - vehicle


|p2= projectile: [[Object]] - projectile
|p2= projectile: [[Object]] - projectile


|p3= selection: [[Object]] - Selection to adjust the missile's position to
|p3= selection: [[Object]] - selection to adjust the missile's position to


|p4= projectileType: [[Object]] - Type of projectile that should be adjusted
|p4= projectileType: [[Object]] - type of projectile that should be adjusted


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


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


|seealso= [[missileTarget]] [[missileTargetPos]]
|seealso= [[missileTarget]] [[missileTargetPos]]
}}
}}
<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 16: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