Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetFactionById
Syntax
C++
int GetFactionById(IFunctionHandler* h, const char* factionId);
Parameters 
Description 
const char* factionId 
string id of a faction 

Syntax: RPG.GetFactionById(factionId) 

Returns faction with the given id or nil if no such faction exists. 

 

Copyright (c) 2012. All rights reserved.