Module CAMPAIGN_POLITICAL_PARTY_SCRIPT_INTERFACE
Political party userdata handed out by faction:GetPoliticalParties().
Functions
| GetKey () | Returns the party's record key string (e.g. |
| GetSenators () | Returns the number of senators currently held by the party. |
| GetPower () | Returns the current political power of the party as a float. |
| IsPrimary () | Returns whether this party is the faction's primary (leading) party. |
Functions
- GetKey ()
-
Returns the party's record key string (e.g. "attpoliticalpartyromans1").
Returns:
-
string
party record key
- GetSenators ()
-
Returns the number of senators currently held by the party.
Returns:
-
integer
number of senators
- GetPower ()
-
Returns the current political power of the party as a float.
Returns:
-
number
political power
- IsPrimary ()
-
Returns whether this party is the faction's primary (leading) party.
Returns:
-
boolean
true if this is the primary party