Vector/Set

From Garry's Mod
Jump to: navigation, search
 Vector:Set( )

Contents

Description

Copies the values from the second vector to the first vector.

Arguments

Vector vector

The vector to copy from.

Examples

Example

Sets vector B to vector A's value.

a = Vector(1, 2, 3)
b = Vector()
b:Set(a)
print(b)

Output:

1, 2, 3.
Personal tools
Navigation