icreator Posted February 23, 2011 Share Posted February 23, 2011 шард я нашла а фракцию нет Quote Link to comment Share on other sites More sharing options...
Guest mehael Posted February 23, 2011 Share Posted February 23, 2011 Code: unit.GetFaction( unitId ) ?Если не выйдет, можно попробоватьCode: unit.GetClass(id) и по локализованному названию расы-класса делать выводы. Не красиво и не просто, но я не могу предложить другое решение Quote Link to comment Share on other sites More sharing options...
Loss Posted February 23, 2011 Share Posted February 23, 2011 Code: local fraction = unit.GetFaction(avatar.GetId()).sysName вот так я узнавал. Quote Link to comment Share on other sites More sharing options...
icreator Posted February 23, 2011 Author Share Posted February 23, 2011 точно, спс Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.