Groups and sims in them being unique

More
19 years 1 month ago #18589 by Joco
I thought I would share this in case someone else gets bitten by it.

In the POG help file on groups it says
"Groups are primarily an unordered collection of unique hsims sequentially stored in an array structure ..."

I have highlighted the key phrase. The handles must be unique. So you might thing (as I did) that this means unique within a group. So therefore I can have a sim handle in multiple groups. WRONG!

I have tested this and a sim handle must be unique across ALL groups.

See the log from my little proof:
SCRIPT&#058; [unknown] <
Proof 2 START
>
SCRIPT&#058; [unknown] t1 grp sim count = 0
SCRIPT&#058; [unknown] t2 grp sim count = 0
SCRIPT&#058; [unknown] <
add sim to t1
>
SCRIPT&#058; [unknown] t1 grp sim count = 1
SCRIPT&#058; [unknown] t2 grp sim count = 0
SCRIPT&#058; [unknown] <
add same sim to t2
>
SCRIPT&#058; [unknown] t1 grp sim count = 0
SCRIPT&#058; [unknown] t2 grp sim count = 1
SCRIPT&#058; [unknown] <
Proof 2 END
>

Please Log in or Create an account to join the conversation.

More
19 years 4 weeks ago #13906 by GrandpaTrout
Much pain has been caused by this. I think the information is worth a post in the cool POG tricks thread. Tricks you can do with POG or tricks POG plays on you, are equally welcome.

Please Log in or Create an account to join the conversation.