InviteToParty
Send invitation to the char with ID ObjID to the party
Pascal
procedure InviteToParty(ObjID : Cardinal);
Python
def InviteToParty(ID)
Example Python
from py_stealth import *
if not InParty():
AddToSystemJournal('not in paty')
# find blue char
SetFindVertical(10)
SetFindDistance(5)
Ignore(Self())
FindNotoriety(-1, 1)
for i in GetFoundList():
print(f'try add to paty {GetName(i)}')
InviteToParty(i)
Wait(250)