Objective
This library indexes units so they can be referenced by Index Numbers auto generated and uniquely assigned to each unit in the system.
Functions
- To setup a unit into the system use the function: UI_Setup(Unit)
- To retrieve a units index use the function: UI_Get_Unit_Index(Unit)
- To retrieve the unit associated with an index number use: UI_Get_Index_Unit(Index)
Customization
- By default the system is setup to allow max 500 units in the system at a time.
- If you require more just edit the Variable UI_Units[500] to UI_Units[*Your increased size*]
- By default the system enters every unit that enters the map into the system to change this modify the UI_Init trigger to whatever you need.
- This library has a DEBUG feature, to enable this modify the UI_ALLOW_DEBUG varaible and set it to true.
- Then when in the map type debug in the chat to display unit indexs above their head.
Facts
- Date created
- Jun 19, 2012
- Category
- Last update
- Jun 19, 2012
- Development stage
- Release
- License
- Common Development and Distribution License (CDDL)
- Downloads
- 42
- Recent files
- R: Dustin's Unit Indexing Map Jun 19, 2012
- R: Dustin's Unit Indexing Library Jun 19, 2012