Difference between revisions of "Osiris/API/AddToParty"
From Divinity Engine Wiki
(Remove mention of ability to add NPCs to a party, as that is not supported) |
m (Fixed parameter types) |
||
Line 1: | Line 1: | ||
===== Full Definition(s) ===== | ===== Full Definition(s) ===== | ||
− | * call '''AddToParty'''(''( | + | * call '''AddToParty'''(''(CHARACTERGUID)'''''_Source''', ''(CHARACTERGUID)'''''_Target''') |
===== Description ===== | ===== Description ===== | ||
Adds the characters controlled by the [[Osiris/API/CharacterGetReservedUserID|user]] with User ID '''_Source''' to the party to which the user with User ID '''_Target''' belongs. | Adds the characters controlled by the [[Osiris/API/CharacterGetReservedUserID|user]] with User ID '''_Source''' to the party to which the user with User ID '''_Target''' belongs. |
Revision as of 12:53, 29 November 2017
Full Definition(s)
- call AddToParty((CHARACTERGUID)_Source, (CHARACTERGUID)_Target)
Description
Adds the characters controlled by the user with User ID _Source to the party to which the user with User ID _Target belongs.
Notes
- A party is a group of all characters controlled by one or more users, along with these characters' party followers, summons. By default, all users are in the same party. Players can split parties by right-clicking on a character controlled by another user and selecting "Kick from party". From script, you can create multiple parties using some of the APIs mentioned below.
- All characters from a single user are always in the same party.