img



img

Unit Index


By: _ForgeUser4707936
Addon | img 588




Description

___________________________________________________________________________________________________________________________

This is a very basic library that allows you to store a unit in an index, and then return the index # by unit, or the unit by index number.

I created this for a specific use I had in an early map, and figured I would publish it in case someone else has the need and doesn't want to spend a time i did in writing and troubleshooting.

Usage:

There are 5 functions/actions that this library has.

1. Index Add Unit to Index This action requires a Unit parameter, and adds the unit into the index.

2. Index Add Unit to Index with Return This function does the exact same thing as the previous function, but also returns the index of the added unit.

3. Index Remove Unit from Index This action requires a Unit parameter, and removes the unit from the index.

4. Index Get Unit by Index This function requires an Integer parameter, and will return the unit associated with the index number.

5. Index Get Index by Unit This function requires a Unit parameter, and will return the Integer associated to the unit.




About Project

Created: October 4th 2023

Updated: October 4th 2023

Project ID: 38808

License: All Rights Reserved

__________________________________________

Game Versions:

1.01.03

1.01.03

1.01.03

1.01.03

1.01.03

__________________________________________

Flavors:

WoW Retail

__________________________________________

Categories

Companions

Battle

__________________________________________

Main File

_ForgeUser4707936_Unit Index.zip
  • Release
  • October 4th 2023

    __________________________________________

    Recent File

    _ForgeUser4707936_Unit Index.zip
  • Release
  • October 4th 2023

    __________________________________________

    Members

    img
    _ForgeUser4707936
    Owner

    __________________________________________

    Report