Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Entity::CreateLink Method
Syntax
C++
int CreateLink(IFunctionHandler* pH, const char* name);
Parameters 
Description 
const char* name 
Name of the link. Does not have to be unique among all the links of this entity. Multiple links with the same name can perfectly co-exist. 
(optional) targetId 
If specified, the ID of the entity the link shall target. If not specified or 0 then the link will not target anything. Default value: 0 

nothing

!

Entity.CreateLink( name, targetId )

! ! Creates a new outgoing link for this entity. ! !  

!  

!  

! ! ! ! ! ! !

Copyright (c) 2012. All rights reserved.