Difference between revisions of "GetFactions - Actor"

16 bytes removed ,  02:12, 20 June 2015
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(PlayerRef.GetName() + " is a part of the following factions: " + PlayerFactions)
Debug.Trace("Player is a part of the following factions: " + PlayerFactions)
</source>
</source>


Anonymous user