BIS fnc wpAngle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix regex replace)
Tag: Undo
m (Text replacement - "‎" to "")
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
|game1= tkoh
|game1= tkoh
|version1= 1.00
|version1= 1.00
|game2= arma3
|version2= 0.50


|gr1= Waypoints
|gr1= Waypoints
Line 14: Line 11:
|exec= spawn
|exec= spawn


|s1= [[Custom_Waypoints#Function|arguments]]: [circleLimit, circleBorder, circleDir, customCond, hint]
|s1= [[Custom Waypoints#Function|Custom Waypoint arguments]]: [circleLimit, circleBorder, circleDir, customCond, hint]


|p1= circleLimit: [[Number]] - what time in seconds must be spent withing limit (default: 0)
|p1= circleLimit: [[Number]] - what time in seconds must be spent withing limit (default: 0)
Line 30: Line 27:
|x1=
|x1=


|seealso= [[:Category:Function Group: Waypoints|Waypoint functions]]
|seealso= [[:Category:Function Group: Waypoints|Waypoint functions]]
}}
}}

Latest revision as of 12:54, 26 April 2023

Hover & click on the images for description

Description

Description:
CIRCLE custom waypoint. Keep helicopter rotated in given vector toward target.
Execution:
spawn
Groups:
Waypoints

Syntax

Syntax:
Custom Waypoint arguments: [circleLimit, circleBorder, circleDir, customCond, hint]
Parameters:
circleLimit: Number - what time in seconds must be spent withing limit (default: 0)
circleBorder: Number - precision tolerance (smaller number means more precision) (default: 0.75)
circleDir: Number or Array - limit - direction or vector towards target (default: view of 2nd crew member - left (-90) or right (90))
customCond: Code - additional condition required for waypoint completion. Passed arguments are [_veh,_target]. (default: {true})
hint: String - formatted hint. %1 is value showing how precise current vector is (in percents), %2 is precent symbol "%1" (default: "%1%2")
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
Waypoint functions

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