GetFloatKey (script event)

From modwiki

Jump to: navigation, search

Description

Retrieves the floating point value of a specific spawn arg.

Usage

In your script type...

float getFloatKey( string key )

Parameters

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

Examples

 
$my_entity.getFloatKey("blink_min");

Notes

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


Personal tools
Main