09-17-2009, 12:15 AM
That is correct.
example:
Aluxes is in party, is first member.
party_self_switch(0, 'A', true) - sets first member Aluxes' switch 'A' to true.
party_self_switch(0, 'A') - gets first member Aluxes' switch 'A', returns true.
Aluxes is no longer in party, replaced by Felix who is now the first member in the party.
party_self_switch(0, 'A') - gets first member Felix's switch 'A', returns false.
Aluxes is now the third party member.
party_self_switch(2, 'A') - gets third member Aluxes's switch 'A' which is still set to true.
example:
Aluxes is in party, is first member.
party_self_switch(0, 'A', true) - sets first member Aluxes' switch 'A' to true.
party_self_switch(0, 'A') - gets first member Aluxes' switch 'A', returns true.
Aluxes is no longer in party, replaced by Felix who is now the first member in the party.
party_self_switch(0, 'A') - gets first member Felix's switch 'A', returns false.
Aluxes is now the third party member.
party_self_switch(2, 'A') - gets third member Aluxes's switch 'A' which is still set to true.