Name | Type | is_array | initial_value |
AAngle | real | Yes | |
ACaster | unit | Yes | |
ACasterPoint | location | Yes | |
ACount | integer | No | |
ADamage | real | Yes | |
ADistance | real | Yes | |
AHas | boolean | Yes | |
AIndex | integer | No | |
AInteger | integervar | No | |
ALastRecycled | integer | No | |
AMax | integer | No | |
AMaxDistance | real | Yes | |
AMove | real | Yes | |
angle | real | No | |
ARecycledList | integer | Yes | |
ATarget | unit | Yes | |
Ausrufezeichen | effect | Yes | |
BackpackBlue | location | No | |
BackpackRed | location | No | |
BeserkUnit | unit | No | |
BeserPoint | location | No | |
Blitz | lightning | Yes | |
BoomL | unit | No | |
BurnCast | unit | No | |
BurnDistDL | real | No | |
BurnDistDR | real | No | |
BurnDistUL | real | No | |
BurnDistUR | real | No | |
BurnDL | unit | No | |
BurnDLA | real | No | |
BurnDLAux | location | No | |
BurnDR | unit | No | |
BurnDRA | real | No | |
BurnDRAux | location | No | |
BurnMid | location | No | |
BurnTarg | location | No | |
BurnTargCast | unit | No | |
BurnUL | unit | No | |
BurnULA | real | No | |
BurnULAux | location | No | |
BurnUR | unit | No | |
BurnURA | real | No | |
BurnURAux | location | No | |
caster | unit | No | |
Caster | unit | No | |
Color | string | Yes | |
DamageBlockingAbility | abilcode | No | |
DamageEvent | real | No | |
DamageEventAmount | real | No | |
DamageEventExplodesUnit | boolean | No | |
DamageEventOverride | boolean | No | |
DamageEventPrevAmt | real | No | |
DamageEventSource | unit | No | |
DamageEventsWasted | integer | No | |
DamageEventTarget | unit | No | |
DamageEventTrigger | trigger | No | |
DamageEventType | integer | No | |
DamageModifierEvent | real | No | |
DamageTypeDOT | integer | No | |
DamageTypeRanged | integer | No | |
DamageTypeSpell | integer | No | |
DmgEvLife | real | No | |
DmgEvN | integer | No | |
DmgEvStack | unit | Yes | |
DmgEvTimer | timer | No | |
DmgTypPrev | integer | No | |
DropChance | integer | No | |
DropLoc | location | No | |
DropLoc_1 | location | No | |
DropLoc_10 | location | No | |
DropLoc_11 | location | No | |
DropLoc_12 | location | No | |
DropLoc_13 | location | No | |
DropLoc_14 | location | No | |
DropLoc_15 | location | No | |
DropLoc_16 | location | No | |
DropLoc_17 | location | No | |
DropLoc_18 | location | No | |
DropLoc_19 | location | No | |
DropLoc_2 | location | No | |
DropLoc_20 | location | No | |
DropLoc_21 | location | No | |
DropLoc_3 | location | No | |
DropLoc_4 | location | No | |
DropLoc_5 | location | No | |
DropLoc_6 | location | No | |
DropLoc_7 | location | No | |
DropLoc_8 | location | No | |
DropLoc_9 | location | No | |
EP | integervar | No | |
EP_Angle | real | Yes | |
EP_Caster | unit | Yes | |
EP_CastNumber | integer | No | |
EP_ConstDistance | real | Yes | |
EP_Distance | real | Yes | |
EP_Height | real | Yes | |
EP_Integer | integervar | No | |
EP_Missile | unit | Yes | |
EP_Off | boolean | Yes | |
EP_Point | location | Yes | |
EP_Speed | real | Yes | |
EP_Switch | integer | No | |
EsL_Angle_Add_Quantity | real | No | |
EsL_Animation_Speed | real | No | |
EsL_Attachment | string | Yes | |
EsL_Backward_Angle | real | Yes | |
EsL_Caster | unit | Yes | |
EsL_Caster_Point | location | No | |
EsL_Condition_Config | boolean | Yes | |
EsL_Current_Index | integer | No | |
EsL_Distance_Tavelled | real | Yes | |
EsL_Effect_Model | string | Yes | |
EsL_Escape_Range | real | Yes | |
EsL_Escape_Speed | real | Yes | |
EsL_Escaping_Time | real | No | |
EsL_Height_Formula | real | Yes | |
EsL_Index_Container | integer | Yes | |
EsL_Index_Listener | integer | No | |
EsL_Index_Size | integer | No | |
EsL_Level | integer | No | |
EsL_Loop | integervar | No | |
EsL_Max_Height | real | No | |
EsL_Recycle_Container | integer | Yes | |
EsL_Recycle_Size | integer | No | |
EsL_SE_1 | effect | Yes | |
EsL_SE_2 | effect | Yes | |
EsL_Spell | abilcode | No | |
EsL_Spell_Animation | string | No | |
EsL_Start_Point | location | Yes | |
FanofKnivesGroup | group | No | |
Floating_txt_Count | integer | No | |
FloatingTextVar | texttag | Yes | |
flyingheight | real | Yes | |
FoK_hashtable | hashtable | No | |
Gnolls_Killed | integer | No | |
GT_Angle | integer | No | |
GT_Caster | unit | Yes | |
GT_CasterInt | integer | No | |
GT_CusValue | integer | No | |
GT_Damage | real | Yes | |
GT_damaged | group | No | |
GT_DamageRadius | integer | Yes | |
GT_Dead | group | No | |
GT_DestroyTrees | boolean | No | |
GT_GlaiveGroup | group | No | |
GT_Hit | sound | Yes | |
GT_HitEffect | string | No | |
GT_Howmany | integer | Yes | |
GT_Lastingtime | integer | Yes | |
GT_Level | integer | No | |
GT_movement | sound | No | |
GT_Player | player | No | |
GT_point | location | No | |
GT_pointother | location | No | |
GT_Radius | integer | Yes | |
GT_Sound | integer | No | |
GT_Speed | integer | Yes | |
GT_Tempunit | unit | No | |
GT_Tree | destructable | No | |
GT_TreeCheck | unit | No | |
Guardian1 | unit | No | |
Guardian2 | unit | No | |
GuardianAux1 | location | No | |
GuardianAux2 | location | No | |
GuardianBlastPointtCast | location | No | |
GuardianMove1 | location | No | |
GuardianMove2 | location | No | |
GuardianPoint | location | No | |
GuardianProtect | unit | No | |
handle | integer | No | |
Hero_Alleria | unit | No | |
Hero_Kaelthas | unit | No | |
Hero_Vereesa | unit | No | |
HeroBlue | unit | No | |
HeroRed | unit | No | |
i | integervar | No | |
ImpactAux | location | No | |
ImpactAuxC | location | No | |
ImpactCast | unit | No | |
ImpactEffect | effect | No | |
ImpactHeightStep | real | No | |
ImpactInteger | integervar | No | |
ImpactMoveStep | real | No | |
ImpactPoint | location | No | |
IngredientBag_Blue | location | No | |
IngredientBag_Red | location | No | |
Integer | integer | No | |
Item | integer | No | |
Item_Slot | integer | No | |
KB_Angle | real | Yes | |
KB_Casters | unit | Yes | |
KB_CountBuffs | integer | No | |
KB_DestroyTrees | boolean | Yes | |
KB_EffectCounter | integer | Yes | |
KB_EffectCounter2 | integer | Yes | |
KB_Effects_1 | string | Yes | |
KB_Effects_2 | string | Yes | |
KB_GeneralIntegers | integervar | Yes | |
KB_KnockbackedUnits | group | No | |
KB_Levels | integer | Yes | |
KB_MaxDistance | real | Yes | |
KB_ReachedDistance | real | Yes | |
KB_ReducedReal | real | No | |
KB_ReduceSpeedReal | real | Yes | |
KB_SpecificSpeed | real | Yes | |
KB_StartPositions | location | Yes | |
KB_TempPoint | location | Yes | |
KB_TempReal | real | No | |
KB_TotalKnockUnits | integer | No | |
KB_Units | unit | Yes | |
KBA_Caster | unit | No | |
KBA_DestroyTrees | boolean | No | |
KBA_DistancePerLevel | real | No | |
KBA_Level | integer | No | |
KBA_SpecialEffects | string | Yes | |
KBA_Speed | real | No | |
KBA_StartingPosition | location | No | |
KBA_TargetUnit | unit | No | |
knivecount | integer | Yes | |
knivesaoe | real | Yes | |
KnivesAux | location | No | |
KnivesCast | unit | No | |
knivesdamage | real | Yes | |
knivesdamageaoe | real | Yes | |
knivesduration | real | Yes | |
KnivesInteger | integervar | No | |
knivesspeed | real | Yes | |
KnivesTarget | unit | No | |
L | location | No | |
LastCreatedText | texttag | Yes | |
level | integer | No | |
LoopCounter | integer | No | |
MapGroup | group | No | |
MapHostile | location | No | |
MaxMana | real | No | |
order | integer | No | |
ownerplayer | player | No | |
point1 | location | No | |
point2 | location | No | |
point3 | location | No | |
PointRespawnCreeps | location | Yes | |
QJC_Ally | boolean | No | |
QJC_Amount | real | No | |
QJC_AmountReduce | real | No | |
QJC_AoE | boolean | No | |
QJC_AoERadius | real | No | |
QJC_AttackType | attacktype | No | |
QJC_Caster | unit | No | |
QJC_ChainSFX | lightningtype | No | |
QJC_Damage | boolean | No | |
QJC_DamageType | damagetype | No | |
QJC_Enemy | boolean | No | |
QJC_Gold | boolean | No | |
QJC_Heal | boolean | No | |
QJC_Heatlh | boolean | No | |
QJC_JumpCount | integer | No | |
QJC_JumpDelayTime | real | No | |
QJC_JumpRadius | real | No | |
QJC_Leech | boolean | No | |
QJC_Mana | boolean | No | |
QJC_NoTarget | boolean | No | |
QJC_OnePerUnit | boolean | No | |
QJC_Priority | boolean | No | |
QJC_Slow | boolean | No | |
QJC_SlowEffect | abilcode | No | |
QJC_Stun | boolean | No | |
QJC_StunEffect | abilcode | No | |
QJC_TargetPoint | location | No | |
QJC_TargetSFX | string | No | |
QJC_TargetUnit | unit | No | |
QJCS_aGroup | group | Yes | |
QJCS_Ally | boolean | Yes | |
QJCS_Amount | real | Yes | |
QJCS_AmountReduce | real | Yes | |
QJCS_AoE | boolean | Yes | |
QJCS_AoERadius | real | Yes | |
QJCS_AttackType | attacktype | Yes | |
QJCS_baseDummy | unit | Yes | |
QJCS_Caster | unit | Yes | |
QJCS_ChainSFX | lightningtype | Yes | |
QJCS_ChainX | real | Yes | |
QJCS_ChainY | real | Yes | |
QJCS_currUnit | unit | No | |
QJCS_Damage | boolean | Yes | |
QJCS_DamageType | damagetype | Yes | |
QJCS_dGroup | group | Yes | |
QJCS_dummyGroup | group | No | |
QJCS_Enemy | boolean | Yes | |
QJCS_Gold | boolean | Yes | |
QJCS_Heal | boolean | Yes | |
QJCS_Health | boolean | Yes | |
QJCS_index | integer | Yes | |
QJCS_JumpCount | integer | Yes | |
QJCS_JumpDelayTime | real | Yes | |
QJCS_JumpRadius | real | Yes | |
QJCS_Leech | boolean | Yes | |
QJCS_LightningDPos | unit | Yes | |
QJCS_LightningDur | real | Yes | |
QJCS_LightningIndex | integer | Yes | |
QJCS_LightningPos | location | Yes | |
QJCS_LightningSFX | lightning | Yes | |
QJCS_LightningTarget | unit | Yes | |
QJCS_Locust | abilcode | No | |
QJCS_Mana | boolean | Yes | |
QJCS_OnePerUnit | boolean | Yes | |
QJCS_prevTarget | unit | Yes | |
QJCS_Priority | boolean | Yes | |
QJCS_Slow | boolean | Yes | |
QJCS_SlowEffect | abilcode | Yes | |
QJCS_Stun | boolean | Yes | |
QJCS_StunEffect | abilcode | Yes | |
QJCS_SystemCount | integer | Yes | |
QJCS_SystemTime | real | Yes | |
QJCS_TargetSFX | string | Yes | |
QJCS_TargetUnit | unit | Yes | |
QJCS_tempGroup | group | No | |
QJCS_tempPos | location | Yes | |
QJCS_victimGroup | group | No | |
Quest | quest | Yes | |
SB_Angle | real | No | |
SB_Caster | unit | No | |
SB_Damage | integer | No | |
SB_DamagedUnits | group | No | |
SB_Distance | real | No | |
SB_DragUnits | group | No | |
SB_Hashtable | hashtable | No | |
SB_Level | integer | No | |
SB_Location | location | No | |
SB_MoveLoc | location | No | |
SB_Range | real | No | |
SB_Spinners | group | No | |
SB_Spirit | unit | No | |
SB_SpiritMove | location | No | |
SB_Time | real | No | |
SB_TotalDamage | integer | No | |
SB_TotalRange | real | No | |
SB_TotalTime | real | No | |
SB_UnitLoc | location | No | |
SC | integervar | No | |
SF_Angle | real | Yes | |
SF_Chase_Begin_Speed | real | Yes | |
SF_Comence_Debug | integer | Yes | |
SF_Damage | real | Yes | |
SF_Debug_Power | integer | Yes | |
SF_Distance_Slice | real | Yes | |
SF_Dummy | unit | Yes | |
SF_Group | group | Yes | |
SF_Hero | unit | Yes | |
SF_Jumps | integer | Yes | |
SF_Max_Dist_Slice | real | Yes | |
SF_Off | boolean | Yes | |
SF_Point | location | Yes | |
SF_Skip | integer | No | |
SF_Slice_Speed | real | Yes | |
SF_Slicer_Spin_Slice | real | Yes | |
SF_Slices | integer | Yes | |
SF_SpecialEffect | effect | Yes | |
SF_SpecialEffect2 | effect | Yes | |
SF_Steps | integer | Yes | |
SF_Targeted | unit | Yes | |
SF_Times | integer | No | |
show_text | boolean | Yes | |
Snake1 | unit | No | |
Snake2 | unit | No | |
Snake3 | unit | No | |
Snake4 | unit | No | |
Snake5 | unit | No | |
Snake6 | unit | No | |
SnakeFAux1 | location | No | |
SnakeFAux2 | location | No | |
SnakeFAux3 | location | No | |
SnakeFAux4 | location | No | |
SnakeFAux5 | location | No | |
SnakeFAux6 | location | No | |
SnakePoint | location | No | |
SnakeSAux1 | location | No | |
SnakeSAux2 | location | No | |
SnakeSAux3 | location | No | |
SnakeSAux4 | location | No | |
SnakeSAux5 | location | No | |
SnakeSAux6 | location | No | |
SnaleAngle1 | real | No | |
SnaleAngle2 | real | No | |
SnaleAngle3 | real | No | |
SnaleAngle4 | real | No | |
SnaleAngle5 | real | No | |
SnaleAngle6 | real | No | |
SOC_Angle | real | Yes | |
SOC_AngleInteger | integer | Yes | |
SOC_AOE | real | No | |
SOC_Caster | unit | Yes | |
SOC_CasterPoint | location | Yes | |
SOC_Damage | real | Yes | |
SOC_ECSP | string | No | |
SOC_Hit | group | Yes | |
SOC_Index | integer | Yes | |
SOC_Integer | integer | Yes | |
SOC_IntegerEnd | integer | No | |
SOC_KBCasterPoint | location | Yes | |
SOC_Range | real | No | |
SOC_SP | string | No | |
SOC_WantSP | boolean | No | |
SpecialEffect | effect | Yes | |
SpellHash | hashtable | No | |
str | string | No | |
Target | unit | No | |
target | unit | No | |
TempGroup | group | No | |
TempInt2 | integer | No | |
TempLoc | location | No | |
TempLoc00 | location | No | |
TempLoc01 | location | No | |
TempLoc02 | location | No | |
TempLoc117 | location | No | |
TempLoc118 | location | No | |
TempLoc2 | location | No | |
TempLoc51 | location | No | |
TempLoc52 | location | No | |
TempLoc53 | location | No | |
TempLoc54 | location | No | |
TempLoc55 | location | No | |
TempLoc56 | location | No | |
TempLoc60 | location | No | |
TempLoc61 | location | No | |
TempLoc62 | location | No | |
TempLoc63 | location | No | |
TempLoc64 | location | No | |
TempLoc65 | location | No | |
TempReal | real | No | |
TempUnit | unit | No | |
TextDamage | group | No | |
timer | real | No | |
UDex | integer | No | |
UDexGen | integer | No | |
UDexNext | integer | Yes | |
UDexPrev | integer | Yes | |
UDexRecycle | integer | No | |
UDexUnits | unit | Yes | |
UDexWasted | integer | No | |
UnitDamageRegistered | boolean | Yes | |
UnitIndexerEnabled | boolean | No | |
UnitIndexEvent | real | No | |
UnitIndexLock | integer | Yes | |
UnitVarLastUnit | unit | Yes |
//TESH.scrollpos=0
//TESH.alwaysfold=0
// Arcing Text Tag v1.0.0.3 by Maker
library FloatingTextArc
globals
private constant real SIZE_MIN = 0.018 // Minimum size of text
private constant real SIZE_BONUS = 0.012 // Text size increase
private constant real TIME_LIFE = 1.0 // How long the text lasts
private constant real TIME_FADE = 0.8 // When does the text start to fade
private constant real Z_OFFSET = 50 // Height above unit
private constant real Z_OFFSET_BON = 50 // How much extra height the text gains
private constant real VELOCITY = 2 // How fast the text move in x/y plane
private constant real ANGLE = bj_PI/2 // Movement angle of the text. Does not apply if
// ANGLE_RND is true
private constant boolean ANGLE_RND = true // Is the angle random or fixed
private timer TMR = CreateTimer()
endglobals
struct ArcingTextTag extends array
private texttag tt
private real as // angle, sin component
private real ac // angle, cos component
private real ah // arc height
private real t // time
private real x // origin x
private real y // origin y
private string s // text
private static integer array next
private static integer array prev
private static integer array rn
private static integer ic = 0 // Instance count
private static method update takes nothing returns nothing
local thistype this=next[0]
local real p
loop
set p = Sin(bj_PI*.t)
set .t = .t - 0.03125
set .x = .x + .ac
set .y = .y + .as
call SetTextTagPos(.tt, .x, .y, Z_OFFSET + Z_OFFSET_BON * p)
call SetTextTagText(.tt, .s, SIZE_MIN + SIZE_BONUS * p)
if .t <= 0 then
set .tt = null
set next[prev[this]] = next[this]
set prev[next[this]] = prev[this]
set rn[this] = rn[0]
set rn[0] = this
if next[0]==0 then
call PauseTimer(TMR)
endif
endif
set this = next[this]
exitwhen this == 0
endloop
endmethod
public static method create takes string s, unit u returns thistype
local thistype this = rn[0]
static if ANGLE_RND then
local real a = GetRandomReal(0, 2*bj_PI)
else
local real a = ANGLE
endif
if this == 0 then
set ic = ic + 1
set this = ic
else
set rn[0] = rn[this]
endif
set next[this] = 0
set prev[this] = prev[0]
set next[prev[0]] = this
set prev[0] = this
set .s = s
set .x = GetUnitX(u)
set .y = GetUnitY(u)
set .t = TIME_LIFE
set .as = Sin(a)*VELOCITY
set .ac = Cos(a)*VELOCITY
set .ah = 0.
if IsUnitVisible(u, GetLocalPlayer()) then
set .tt = CreateTextTag()
call SetTextTagPermanent(.tt, false)
call SetTextTagLifespan(.tt, TIME_LIFE)
call SetTextTagFadepoint(.tt, TIME_FADE)
call SetTextTagText(.tt, s, SIZE_MIN)
call SetTextTagPos(.tt, .x, .y, Z_OFFSET)
endif
if prev[this] == 0 then
call TimerStart(TMR, 0.03125, true, function thistype.update)
endif
return this
endmethod
endstruct
endlibrary