fn vbs rotatePoint (VBS2)

From Bohemia Interactive Community

Jump to: navigation, search

angle

Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Virtual Battlespace 2 version 1.22

Click on the images for descriptions

Introduced in

Game:
Virtual Battlespace 2
Version:
1.22

Description

Description:
Moves a point around a center by a specified angle.

Syntax

Syntax:
[center,angle,pos] call fn_vbs_rotatePoint
Parameters:
center: Position or Object - Center around which point is rotated
angle: Number - Rotational angle (positive or negative)
pos: Position - Point that is rotated
Return Value:
Number

Examples

Example 1:
_newpos = [[2000,3000], 35, [2500,3500]] call fn_vbs_rotatePoint;

Additional Information

Multiplayer:
Behaviour unknown.

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!