I have 5 five trigger objects in the map (that load with the mission). How would I get these into some sort of group.
Put this around the 5 triggers in the .mis file:
new SimGroup(MissionTriggers){
//Triggers in here plox.
};
Do this somewhere after the sun/sky/terrain/water/etc.
And whats the difference between a SimSet and a SimGroup?
Both SimSet and SimGroup add objects into themself as a list.
Difference being that an object in a SimGroup will actually be in that group, an no other group. That group will be returned using obj.getGroup();
A SimSet adds objects into itself, but the objects are not actually in it as a group. This makes it easier to loop through objects that need to be in another group.