Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Entity::GetLinkName Method
Syntax
C++
int GetLinkName(IFunctionHandler* pH, ScriptHandle targetId);
Parameters 
Description 
ScriptHandle targetId 
ID of the entity for which the link name shall be looked up. 
(optional) ith 
If specified, the i'th link that targets given entity. Default value: 0 (first entity) 

The name of the i'th link targeting given entity or nil if no such link exists.

!

Entity.GetLinkName( targetId, ith )

! ! Returns the name of the link that is targeting the entity with given ID. ! !  

!  

!  

! ! ! ! ! ! !

Copyright (c) 2012. All rights reserved.