Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Entity::SetLinkTarget Method
Syntax
C++
int SetLinkTarget(IFunctionHandler* pH, const char* name, ScriptHandle targetId);
Parameters 
Description 
const char* name 
Name of the link that shall target given entity. 
ScriptHandle targetId 
The ID of the entity the link shall target. Pass in NULL_ENTITY to make the link no longer target an entity. 
(optional) ith 
If specified, the i'th link with given name that shall target given entity. Default value: 0 (first link with given name) 

nothing

!

Entity.SetLinkTarget(name, targetId, ith)

! ! Specifies the entity that an existing link shall target. Use this function to change the target of an existing link. ! !  

!  

!  

!  

! ! ! ! ! ! !

Copyright (c) 2012. All rights reserved.