Difference between revisions of "GetFactions - Actor"
m
Modified Example
imported>TidalWraith (Added Example) |
imported>TidalWraith m (Modified Example) |
||
Line 19: | Line 19: | ||
Actor PlayerRef = Game.GetPlayer() | Actor PlayerRef = Game.GetPlayer() | ||
Faction[] PlayerFactions = PlayerRef.GetFactions(-128, 127);The maximum range allowed. | Faction[] PlayerFactions = PlayerRef.GetFactions(-128, 127);The maximum range allowed. | ||
Debug.Trace( | Debug.Trace("Player is a part of the following factions: " + PlayerFactions) | ||
</source> | </source> | ||