• Skip to primary navigation
  • Skip to content
  • Skip to footer
GemRB GemRB Infinity Engine redone
  • News
  • Features
  • Docs
  • Feedback
  • Get involved
  • Download and run

    GameGetFirstSelectedPC

    Prototype: GemRB.GameGetFirstSelectedPC ()

    Description: Returns index of the first selected PC or 0 if none.

    Parameters: N/A

    Return value: the first selected PC’s position in the party (it will look in the original party order, thus the protagonist will be always first!)

    See also: GameSelectPC, GameIsPCSelected, GameGetFirstSelectedActor


    Back to function index, GUIScript introduction.
    • Forum
    • GitHub
    • Edit this page
    • Feed
    © 2025 GemRB homepage. Powered by Jekyll & Minimal Mistakes.