//TESH.scrollpos=0
//TESH.alwaysfold=0
function BountyText takes integer gold, location loc, player pl returns nothing
local texttag te = CreateTextTag()
local real x = GetLocationX(loc)
local real y = GetLocationY(loc)
call SetTextTagText(te, "|cffffcc00+"+I2S(gold)+"|r", 0.024)
call SetTextTagVisibility(te, true)
call SetTextTagVisibility(te ,IsPlayerAlly(pl,GetLocalPlayer()))
call SetTextTagPos(te, x , y , 0.00)
call SetTextTagColor(te, 255, 255, 255, 255)
call SetTextTagVelocity(te, 0, 0.04)
call SetTextTagFadepoint(te, 2)
call SetTextTagLifespan(te, 5)
call SetTextTagPermanent(te, false)
set te = null
endfunction
Name | Type | is_array | initial_value |
CW_Group | group | No | |
CW_HitGroup | group | Yes | |
CW_Integers | integer | Yes | |
CW_Level | integer | Yes | |
CW_Missile | unit | Yes | |
CW_Origin | unit | Yes | |
ExtraGoldIncome | integer | Yes | |
ExtraIncome | force | No | |
Integer1 | integer | No | |
Integer2 | integer | No | |
IslandDwellers | group | No | |
PlayerUnits | unit | Yes | |
RandomSpawnPoint | location | Yes | |
SharkDefeatTimer | timer | No | |
SharkDefeatTimerWindow | timerdialog | No | |
Sharks | group | No | |
TempGroup | group | No | |
TempGroup2 | group | No | |
TempPlayerGroup | force | No | |
TempPoint1 | location | No | |
TempPoint2 | location | No | |
TempPoint3 | location | No | |
TempPoint4 | location | No | |
Unit | unit | No |