Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| group-markers [2016/01/08 17:22] – [Set the group marker style] snippers | group-markers [2016/03/24 15:56] (current) – removed snippers | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | In order for the Group Markers to work properly there is a few things you do. | ||
| - | |||
| - | Group markers are dependent on the group ID for a group. | ||
| - | |||
| - | ====== Setup group variable names ====== | ||
| - | Before a group ID can be set firstly we must ensure that we have a variable that contains the targeted group. | ||
| - | |||
| - | {{:: | ||
| - | |||
| - | For **every unit** in the group ensure there is init box there is something like. This ensures that the group variable is set. | ||
| - | <code cpp> | ||
| - | The general format is: \\ | ||
| - | * GrpNATO for NATO/blufor | ||
| - | * GrpFIA for FIA/blufor | ||
| - | * GrpCSAT for CSAT/redfor | ||
| - | * GrpAAF for AAF/indfor | ||
| - | |||
| - | ====== Setup group ID ====== | ||
| - | A group ID is the text name of a group, it is used whenever a name for the group is needed such as in the ORBAT/ | ||
| - | |||
| - | In this script you will find a list of all the groups and text name e.g. | ||
| - | <code cpp> | ||
| - | [" | ||
| - | [" | ||
| - | [" | ||
| - | |||
| - | To add a new group use the same group variable you used. Note that in later steps the last word of the group ID is used to get the marker style (e.g. ASL or A1). | ||
| - | |||
| - | ====== Set the group marker style ====== | ||
| - | |||
| - | The script that controls the group marker styles is f/ | ||
| - | |||
| - | < | ||
| - | { | ||
| - | _texture = " | ||
| - | }; | ||
| - | case (_input in [" | ||
| - | { | ||
| - | _texture = " | ||
| - | _size = [24,24]; | ||
| - | };</ | ||
| - | |||
| - | You need to make sure there is an entry that matches your the last part of the group ID. | ||
| - | |||
| - | ====== Configure the heirarchy ====== | ||
| - | |||
| - | |||