GetEntityKey (script event)

From modwiki

Jump to: navigation, search

Description

Retrieves the entity specified by the spawn arg.

Usage

In your script type...

entity getEntityKey( string key )

Parameters

  • [key] - Name of key that holds an entity reference.

Examples

$my_entity.getEntityKey( "target" );

Notes

This script event returns the entity specified as an entity.


Personal tools
Main