Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.




Introduced in

Version:1.30

Description

Description:Creates a horizontal 3D arrow that moves back and forth, pointing in a specified compass direction.

Syntax

Syntax:[position, direction, color, end] call fn_vbs_visual_arrowH
Parameters:
  • position: Position3D - position Position for arrow to hover over.
  • direction: Number - compass Compass direction to point at.
  • color: Color - RGBA color of the arrow should be.
  • end: Number or Code - if this is If a number, the arrow will exist exists for that many seconds.
    If it is code, then the arrow will disappear disappears once this the code condition is met.
Return Value:Object - Arrow created (only in V3.7+; in previous versions, nothing was is returned).

Warning

When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.

Examples

Examples:
Create an arrow that will exist until player gets in car2:
[getpos player, getdir player, [1,1,0,0.5], {player in car2}] call fn_vbs_visual_arrowH;
Image Removed

Additional Information

See also:fn vbs visual arrowV
Multiplayer: 
Problems: 

Notes