Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

InParty

Returns True if the character is currently a member of a party, False otherwise.

Internally checks whether the party members list is non-empty.

Возвращает True, если персонаж в данный момент состоит в пати, иначе False.

Внутренне проверяет, не пуст ли список членов пати.

Pascal

function InParty: Boolean;

Python

def InParty() -> bool: ...

Pascal Example

begin
  if InParty then
    AddToSystemJournal('In a party')
  else
    AddToSystemJournal('Not in a party');
end.

Python Example

if InParty():
    AddToSystemJournal('In a party')
else:
    AddToSystemJournal('Not in a party')

See Also

InviteToParty, PartyLeave, PartyMembersList