Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetOwner
Syntax
C++
int GetOwner(IFunctionHandler* ph, framework::T_WUIDScriptType linkableId);
Parameters 
Description 
framework::T_WUIDScriptType linkableId 
id of the object whose ownership we try to get 

Syntax: XGenAIModule.GetOwner( myLinkableObjectWuid ); 

Finds out ownership of given linkable object. Returns wuid of the owner NPC or invalid wuid if there is no owner. 

 

Copyright (c) 2012. All rights reserved.