GetVectorKey (script event)

From modwiki

Jump to: navigation, search

Description

Retrieves the vector value of a specific spawn arg.

Usage

In your script type...

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.


Personal tools
Main