- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
5,104 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks WoT Mods
- Top Starcraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Videos
- Forums
RVAPI_Range (RV)
- 0 Likes
- Warhammer Online
- 18 Monthly Downloads
- Supports: 1.4.0
- 10,736 Total Downloads
- Updated 11/24/2010 1:31:21 PM
- Created 12/6/2009 10:10:29 AM
- 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,214 | 11/24/2010 1:31:21 PM |
| v2.02 Release | Release | 1.3.6 | 2,460 | 9/11/2010 5:50:48 PM |
| v2.01 Release | Release | 1.3.6 | 234 | 9/5/2010 4:57:36 PM |
| v2.0 Release | Release | 1.3.6 | 317 | 8/25/2010 11:27:50 AM |
| v1.02 Release | Release | 1.3.3 | 1,807 | 2/24/2010 1:45:30 AM |
| v1.01 Release | Release | 1.3.3 | 972 | 1/6/2010 11:23:51 AM |
| v1.0 Release | Release | 1.3.1 | 754 | 12/6/2009 10:24:31 AM |
Top Downloads
-
- Enemy
- Buffs & Debuffs, Unit Frames, Combat, and PvP
- 707 Monthly Downloads
-
- LibSlash
- Development Tools
- 548 Monthly Downloads
-
- Squared
- Unit Frames
- 344 Monthly Downloads
-
- Warhammer Scrolling Combat Text
- Combat
- 318 Monthly Downloads
-
- Twister
- Action Bars, Combat, Class, and Buffs & Debuffs
- 318 Monthly Downloads

Comments