BIS fnc missileLaunchPositionFix: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|x1= <code></code> |= " to "|x1= <code></code> |EXAMPLE1=")
m (page filled)
Line 1: Line 1:
{{Function


{{Function|Comments=
|game1= arma3
____________________________________________________________________________________________


| arma3 |Game name=
|version1= 1.00


|1.00|Game version=
<!--|exec= server|=-->
____________________________________________________________________________________________


| <pre>
<!--|arg= local-->


/*
<!--|eff= local-->


Description:
|descr= Workaround fix for ATGM/SAM launch positions
Workaround fix for ATGM/SAM launch positions


Parameter(s):
|s1= [vehicle, projectile, selection, projectileType] call [[BIS_fnc_missileLaunchPositionFix]]
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:
|p1= vehicle: [[Object]] - Vehicle
BOOL - success
Example:
[_vehicle,_missile,"missile_move","MissileBase"] call BIS_fnc_missileLaunchPositionFix
*/


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


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


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
|p4= projectileType: [[Object]] - Type of projectile that should be adjusted
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_missileLaunchPositionFix]]; --> |SYNTAX=
|r1= [[Boolean]] - Returns [[true]] if successful


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


| |RETURNVALUE=
|exec= call
____________________________________________________________________________________________


|x1= <code></code> |EXAMPLE1=
|seealso= [[missileTarget]] [[missileTargetPos]]
____________________________________________________________________________________________
 
| |SEEALSO=


}}
}}
<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">

Revision as of 11:10, 8 January 2020

Hover & click on the images for description

Description

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

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

Notes

Bottom Section