Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetLinkTarget
Syntax
C++
int GetLinkTarget(IFunctionHandler * pH, const char * name);

Syntax: Entity.GetLinkTarget( const char *name ) - returns linked entity by link name. If there are several links with this name, the first link entity is returned.

Optional syntax: Entity.GetLinkTarget( const char *name, int targetIndex ) - returns linked entity by link name and by zero based index. if there are several links with this name, the targetIndex-th link entity is returned.

Copyright (c) 2012. All rights reserved.