0 |
1 |
1 |
0 |
|
<- Bitmask (6), die ersten 4 von 21 Bits werden gezeigt. |
Aktiviert? |
0 |
0 |
0 |
1 |
|
<- Ent1 group ID (1) |
Nein |
0 |
0 |
1 |
0 |
|
<- Ent2 group ID (2) |
Ja |
0 |
1 |
0 |
0 |
|
<- Ent3 group ID (4) |
Ja |
1 |
0 |
0 |
0 |
|
<- Ent4 und Ent5 group ID (8) |
Nein |
phent_setgroup( ent1, 1 ); phent_setgroup( ent2, 2 ); phent_setgroup( ent3, 4 ); phent_setgroup( ent4, 8 ); phent_setgroup( ent5, 8 ); // activate ent1, all others are paused ph_selectgroup( 1 ); // activate ent2 & ent3 ph_selectgroup( 6 ); // activate ent4 & ent5 ph_selectgroup( 8 ); // run them all ph_selectgroup( 15 );