Skip to content

Commit

Permalink
Added how to change a group's groupID to the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nsgundy committed Jan 4, 2015
1 parent 1701162 commit eefe0a3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,14 @@ If you wish to override the list of vehicles that have FBCB2 or TAD available, p
// Only have BWmod helmets with a camera simulate a helmet camera
cTab_helmetClass_has_HCam = ["BWA3_OpsCore_Schwarz_Camera","BWA3_OpsCore_Tropen_Camera"];

### Change display name of a group ###
Groups are displayed on cTab devices with their groupIDs. To define custom groupIDs, add the following code to the group leader's initialization:

// Change the unit's groupID to "Red Devils"
this setGroupId ["Red Devils"];

### Change display name of a vehicle ###
By default all vehicles will be shown with their group names next to them. This can make it difficult to distinguish multiple vehicles of the same type when they are in the same group. To change that, use the following code in the unit's initialization:
By default all vehicles will be shown with their group names next to them. This can make it difficult to distinguish multiple vehicles of the same type when they are in the same group. To change that, use the following code in the vehicle's initialization:

// Change this vehicle's identification displayed on all cTab Blue Force Trackers to "Fox"
this setVariable ["cTab_groupId","Fox",true];
Expand Down

0 comments on commit eefe0a3

Please sign in to comment.