| AcceptJoin(long, long) |
Accepts faction join request |
| AcceptPeace(long, long) |
Accepts peace |
| AddNewNPCToFaction(long) |
Adds new NPC to faction. Name example: "SPRT NPC3340" |
| AddNewNPCToFaction(long, string) |
Adds new NPC to faction |
| AreFactionsEnemies(long, long) |
Gets if factions are enemies to each other |
| CancelJoinRequest(long, long) |
Cancels player faction join request |
| CancelPeaceRequest(long, long) |
Cancel peace request from one faction to another |
| ChangeAutoAccept(long, long, bool, bool) |
Changes AutoAccept for faction |
| CreateFaction(long, string, string, string, string) |
Creates new faction with faction type. Obsolete. Use CreateFactionNew(long, string, string, string, string, string) |
| CreateFaction(long, string, string, string, string, MyFactionTypes) |
Creates new faction Obsolete. Use CreateFactionNew(long, string, string, string, string, string) |
| CreateFactionNew(long, string, string, string, string, string) |
Creates new faction |
| CreateNPCFaction(string, string, string, string) |
Creates new faction with faction type None |
| DeclareWar(long, long) |
Declare war |
| DemoteMember(long, long) |
Demote faction member |
| EditFaction(long, string, string, string, string) |
Edits faction |
| EditFaction(long, string, string, string, string, string, Vector3, Vector3) |
Edits faction |
| FactionNameExists(string, IMyFaction) |
Gets if faction with provided tag exists |
| FactionTagExists(string, IMyFaction) |
Gets if faction with provided tag exists |
| GetObjectBuilder() |
Gets object builder |
| GetRelationBetweenFactions(long, long) |
Gets relation between 2 factions |
| GetReputationBetweenFactions(long, long) |
Gets reputation between 2 factions |
| GetReputationBetweenPlayerAndFaction(long, long) |
Gets reputation between identity and faction |
| IsPeaceRequestStatePending(long, long) |
|
| IsPeaceRequestStateSent(long, long) |
Gets if there is peace request sent |
| KickMember(long, long) |
Kicks member from faction |
| MemberLeaves(long, long) |
Forces member to leave |
| PromoteMember(long, long) |
Promotes faction member |
| RemoveFaction(long) |
Remove faction by id |
| SendJoinRequest(long, long) |
Send faction join request |
| SendPeaceRequest(long, long) |
Send peace request from one faction to another |
| SetReputation(long, long, int) |
Sets reputation between 2 factions Note: Faction 1 always has same reputation to Faction 2, as Faction 2 to Faction 1 |
| SetReputationBetweenPlayerAndFaction(long, long, int) |
Sets reputation between player and faction. |
| TryGetFactionById(long) |
Tries get faction by faction id |
| TryGetFactionByName(string) |
Tries get faction with provided name |
| TryGetFactionByTag(string) |
Tries get faction with provided tag |
| TryGetPlayerFaction(long) |
Tries get faction that has member with provided id |
| AddPlayerToFaction(long, long) |
Obsolete: Use SendJoinRequest instead, this will be removed in future |
| KickPlayerFromFaction(long) |
Obsolete: Use KickMember instead, this will be removed in future |