GetTarget (script event)

From modwiki

Jump to: navigation, search

Description

Returns the requested target entity.

Usage

In your script type...

entity getTarget( float num )

Parameters

  • [num] - The target number to return.

Examples

 
$my_entity.getTarget(1);

Notes

This script returns the specified target value as an entity.


Personal tools
Main