GetVectorKey (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Retrieves the vector value of a specific spawn arg.

Usage

vector getVectorKey( string key )

Parameters

  • [key] - The name of the spawn argument to return the value of.

Examples

 
$my_entity.getVectorKey("look_min");

Notes

This script event returns the value of the specified spawn argument as a vector.