BIS fnc missileLaunchPositionFix: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:


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


|gr1 = Vehicles
|gr1= Vehicles


|descr= Workaround fix for ATGM/SAM launch positions
|descr= Workaround fix for ATGM/SAM launch positions
Line 11: 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


|r1= [[Boolean]] - Returns [[true]] if successful
|p4= projectileType: [[Object]] - type of projectile that should be adjusted


|x1= <code>[_vehicle,_missile,"missile_move","MissileBase"] [[call]] [[BIS_fnc_missileLaunchPositionFix]];</code>
|r1= [[Boolean]] - returns [[true]] if successful


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


|seealso= [[missileTarget]] [[missileTargetPos]]
|seealso= [[missileTarget]] [[missileTargetPos]]
}}
}}

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