- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
6,109 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks Skins
- Top StarCraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top The Secret World Mods
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
- Store
RVAPI_Range (RV)
- 0 Likes
- Warhammer Online
- 11 Monthly Downloads
- Supports: 1.4.0
- 10,933 Total Downloads
- Updated 11/24/2010
- Created 12/06/2009
- 20 Favorites
- Project Site
- Comments
- Release Type: Release
- License: MIT License
- Newest File: v2.03 Release
About RVAPI_Range (RV)
Range finder API. Based on your current abilities and map points.
Globals
RVAPI_Range.Ranges
- MIN_RANGE: default minimum range
- MAX_RANGE: default maximum range
RVAPI_Range.RangeType
- RANGE_TYPE_MAP: output type based on the map information
- RANGE_TYPE_SPELLS: output type based on the spells information
RVAPI_Range.DelayType*
- DELAY_EXACT_TIME: ???
- DELAY_DIFFERENCE_DETECTED: ???
API Functions v2.0
Function name: API_RegisterTarget()
Description: registers target name for tracking distances
Input:
- CallbackOwner -
- CallbackFunction -
- TargetName - target name
- Delay - delay for an updates
- DelayType - can be one of the following: DELAY_EXACT_TIME, DELAY_DIFFERENCE_DETECTED
- UserData - alias for the third party addons data. You can link your additional data (like user number in the group etc.) to this specific target name
Output: nothing
Function name: API_UnregisterTarget()
Description: unregisters target from the "Range API"
Input:
- CallbackOwner -
- CallbackFunction -
- TargetName - target name
Output: nothing
API Functions v1.02
Function name: API_GetRange()
Description: returns MIN and MAX range for the selected friendly/hostile target
Input:
- targetType - this could be three possible values: GameData.TargetTypes.TARGET_ALLY, GameData.TargetTypes.TARGET_ENEMY and GameData.TargetTypes.TARGET_PET
Output: array of two values
- RangeMin: minimum range value
- RangeMax: maximum range value
API Usage Example v2.0
-- : Lets look for some Mailboxes around us and update our records every one second RVAPI_Range.API_RegisterTarget(MyAddon, MyAddon.OnTargetRangeUpdated, "Mailbox", 1, RVAPI_Range.DelayType.DELAY_EXACT_TIME, nil) -- : Self: equals to the MyAddon -- : Distances: array of the found distances. For instance you can find up to three "Mailboxes" in the Altdorf city -- : RangeType: API is telling us which type of the information we got. This could be one of the following: RANGE_TYPE_MAP, RANGE_TYPE_SPELLS -- : UserData: alias information related to this target. Defined by the third party addons. function MyAddon.OnTargetRangeUpdated(Self, Distances, RangeType, UserData) -- : show the first found range in the debug window d(Distances[1].RangeMin..":"..Distances[1].RangeMax) end
v2.03 Release
1. RVAPI_Range should gather distances information on-demand now
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| v2.03 Release | Release | 1.4.0 | 4,407 | 11/24/2010 |
| v2.02 Release | Release | 1.3.6 | 2,461 | 09/11/2010 |
| v2.01 Release | Release | 1.3.6 | 234 | 09/05/2010 |
| v2.0 Release | Release | 1.3.6 | 317 | 08/25/2010 |
| v1.02 Release | Release | 1.3.3 | 1,807 | 02/24/2010 |
| v1.01 Release | Release | 1.3.3 | 972 | 01/06/2010 |
| v1.0 Release | Release | 1.3.1 | 754 | 12/06/2009 |
Top Downloads
-
- Enemy
- Buffs & Debuffs, Unit Frames, Combat, and PvP
- 391 Monthly Downloads
-
- LibSlash
- Development Tools
- 328 Monthly Downloads
-
- Squared
- Unit Frames
- 249 Monthly Downloads
-
- Twister
- Action Bars, Combat, Class, and Buffs & Debuffs
- 243 Monthly Downloads
-
- BuffHead2
- PvP, Combat, and Buffs & Debuffs
- 203 Monthly Downloads

Comments