πŸ—ΊοΈVisual Borders

AddAugmentedLocation

Adds an augmented location in runtime

Usage :

exports.core_focus:AddAugmentedLocation(name, coords, height, color, distance, ground)

Example :

local id = exports.core_focus:AddAugmentedLocation('Hospital', {vector3(1,1,1), vector3(2,2,2), vector3(3,3,3), vector3(4,4,4)}, 5.0, '#03fc88', 30.0, 'auto')

RemoveAugmentedLocation

Removed augmented location from runtime

Usage :

exports.core_focus:RemoveAugmentedLocation(id)

Example :

exports.core_focus:RemoveAugmentedLocation(2)

UpdateAugmentedLocation

Updates augmented location in runtime

Usage :

Example :

Parameters:

Name
Type
Description

name

string

The display name of the border

coords

table

A table with vector3 or vector2 points that make up the border

height

number

The height of border

color

hex

The color of the border in hex value

distance

number

From what distance the border is seen

ground

number

The Z cordinate from which the border will be drawn. You can use 'auto' so it finds ground Z coords automatically

active

boolean

This sets the border as visible or not with true or false

Last updated