Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetRelationship
Syntax
C++
int GetRelationship(IFunctionHandler * h, framework::T_WUIDScriptType other);

Syntax: soul:GetRelationship(otherSoulId) 

returns the relationship between this and the other soul (-1 the worst enemies, 1 the best friends) Optional second argument selects the superfaction type for the other party. Can be Original, Current or Perceived. 

 

Copyright (c) 2012. All rights reserved.