Aller au contenu

Photo

GetPartyLeader() and GetHero()


1 réponse à ce sujet

#1
anakin5

anakin5
  • Members
  • 258 messages
What is the difference ? Is there a party leader for enemies ?

#2
DavidSims

DavidSims
  • BioWare Employees
  • 196 messages
Most of the time the two functions will return the same thing. However, you can change the party leader through scripting. It's used for sequences where your main character is not in the party. GetPartyLeader() will get the current leader, if it has been changed.



GetHero() will always return the original player character.



GetMainControlled() will return the currently selected character, the one who's abilities are in the bar at the bottom of the screen.