BIS fnc missileLaunchPositionFix: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(3 intermediate revisions by the same user not shown)
Line 10: 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= <sqf>[_vehicle,_missile,"missile_move","MissileBase"] call BIS_fnc_missileLaunchPositionFix;</sqf>
|x1= <sqf>[_vehicle,_missile,"missile_move","MissileBase"] call BIS_fnc_missileLaunchPositionFix;</sqf>

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