From modwiki
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.