Name | Type | is_array | initial_value |
AI_Random | integer | No | |
ApplliedPrefix | string | No | |
ApplliedSuffix | string | No | |
Ausgabe | string | No | |
AutoLoadPosition | integer | No | |
AutoLoadPositionTmp | integer | No | |
AutoLoadTimer | timer | No | |
AutoLoadUnit | unit | No | |
BatChaseBat | unit | No | |
BatchaseDegree | real | No | |
BatChaseLoc | location | Yes | |
BatChaseTarget | unit | No | |
BatChaseTargetEND | unit | No | |
BatVamp | unit | No | |
BeetleLoc | location | No | |
BlinkySkelety | unit | No | |
BloodEffects | effect | Yes | |
BloodInt | integer | No | |
Board | multiboard | No | |
BoardColumn | integer | No | |
BoardRow | integer | No | |
Boss | unit | No | |
Buggy | unit | No | |
BuggyEff | unit | Yes | |
Cache | gamecache | No | |
Checkgroup | group | No | |
ClonedUnit | unit | No | |
Clouds | group | No | |
ComboCounter | integer | Yes | |
ComboTimer | timer | Yes | |
ComboTimer_2 | timer | Yes | |
Countdown | integer | No | |
CounterBoss5 | integer | No | |
CounterDead | integer | No | |
CreatingItem | item | No | |
CurrentChooser | unit | Yes | |
DamageValue | real | Yes | |
DungeonStarted | boolean | No | |
EmpowerGrp | group | No | |
EnemyCount | integer | No | |
Enraged | unit | No | |
Firerain_Eff | effect | No | |
Firerain_loc | location | No | |
Firerain_Target | unit | No | |
FirerainCaster | unit | No | |
FireSkellyX | real | No | |
FireSkellyY | real | No | |
heal | real | No | |
Healgrp | group | No | |
Hero | unit | Yes | |
HeroesDead | integer | No | |
highestDmgHero | integer | Yes | 0 |
highestDmgUD | integer | Yes | 0 |
HumanAiCounter | integer | No | |
ItemAbilitys | hashtable | No | |
ItemDropLoc | location | No | |
ItemDroppChance | integer | No | |
ItemGiftLoc | location | No | |
ItemPrefix | string | Yes | |
ItemRng | integer | No | |
ItemSuffix | string | Yes | |
ItemTooltipStr_pre | string | Yes | |
ItemTooltipStr_suf | string | Yes | |
ItemTooltipStr_u | string | Yes | |
ItemUnique | string | Yes | |
LastAbility | abilcode | Yes | |
Lich | unit | No | |
looseHero | integer | Yes | 0 |
looseUD | integer | Yes | 0 |
Necroty | unit | No | |
NecroX | real | No | |
NecroY | real | No | |
NetworkCache | gamecache | No | |
NewArcher | unit | No | |
NewArcherLoc | location | No | |
NoNoLoc | rect | No | |
OldArcherLoc | location | No | |
percent | real | No | |
Pitlord_Summons | group | No | |
Player | unit | Yes | |
PlayerDamageBonus | integer | Yes | |
PlayerInt | integer | No | |
PlayerNumber | integer | No | |
plrgrp | force | No | |
QualityRNG | integer | No | |
Randomizer | integer | No | |
Randomizer2 | integer | No | |
Randomizer3 | integer | No | |
Randomskele | integer | No | |
RNG_SB | integer | No | |
RNGItems | itemcode | Yes | |
RNGItemSkillsT1 | abilcode | Yes | |
RNGItemSkillsUnique | abilcode | Yes | |
Room | rect | No | |
s__File_buffer | string | Yes | |
s__File_Counter | integer | No | |
s__File_filename | string | Yes | |
s__File_List | integer | Yes | |
s__File_ReadEnabled | boolean | No | |
s__Zeichenkette | string | No | |
SBEff | effect | No | |
SBtarget | unit | No | |
seed | integer | No | |
Selection | unit | No | |
ShadowClone | unit | No | |
Skillpointgrp | group | Yes | |
SoulBeamCaster | unit | No | |
SpikesTimer | timer | No | |
SpikesTimer2 | timer | No | |
SpikeTarget | effect | No | |
Stat_Board | multiboard | No | |
Stat_Board_Column | integer | No | |
Stat_Board_Row | integer | No | |
Survivors | force | No | |
Swordsman | group | No | |
tempgrp | group | No | |
tempgrp_2 | group | No | |
tempint | integer | No | |
tempItem | item | No | |
temploc | location | No | |
temploc_2 | location | No | |
temploc_3 | location | No | |
temploc_4 | location | No | |
tempreal | real | No | |
tempSwordsman | unit | No | |
tempswordsmanstopinfiniteloop | integer | No | |
tempunit | unit | No | |
tempunit_2 | unit | No | |
TestInt | integer | No | |
TestInt_2 | integer | No | |
testmode | boolean | No | |
testmode_2 | boolean | No | |
thruster | unit | No | |
thrustloc | location | Yes | |
thrustX | real | No | |
thrustY | real | No | |
tmpInt | integer | No | |
tmpInt2 | integer | No | |
tmpString | string | No | |
UD_ARC_Chosen | boolean | No | |
UD_BAN_Chosen | boolean | No | |
UD_BER_Chosen | boolean | No | |
UD_Chooser_Grp | group | No | |
UD_ChosenUnit | unitcode | Yes | |
UD_GHO_Chosen | boolean | No | |
UD_Loc | location | No | |
UD_MAG_Chosen | boolean | No | |
UD_WAR_Chosen | boolean | No | |
UDChoosen | boolean | Yes | |
Undeads | force | No | |
UndeadUnit | unit | Yes | |
unitrandomizer | unitcode | Yes | |
unitrandomizer_Boss | unitcode | Yes | |
unitrandomizer_Player | unitcode | Yes | |
Vamp | unit | No | |
VampAAEff | effect | Yes | |
VampDummy | unit | No | |
VampEff | effect | No | |
VampLoc | location | No | |
vampstrikerunning | boolean | No | |
VampTarget | unit | No | |
VampX | real | No | |
VampY | real | No | |
winHero | integer | Yes | 0 |
winUD | integer | Yes | 0 |
//Save Load System
function s__File_open takes string filename returns integer
local integer this= udg_s__File_List[0]
if ( this == 0 ) then
set this=udg_s__File_Counter + 1
set udg_s__File_Counter=this
else
set udg_s__File_List[0]=udg_s__File_List[this]
endif
set udg_s__File_filename[this]=filename
set udg_s__File_buffer[this]=null
return this
endfunction
function s__File_write takes integer this,string contents returns integer
set udg_s__File_buffer[this]=null
call PreloadGenClear()
call PreloadGenStart()
call Preload("\" ) \n\n\tcall BlzSetAbilityTooltip('Amls', \"" + contents + "\", 0)\nendfunction\nfunction a takes nothing returns nothing\n //")
call PreloadGenEnd(udg_s__File_filename[this])
return this
endfunction
function s__File_readPreload takes integer this returns string
local string original= BlzGetAbilityTooltip('Amls', 0)
local string output
// Execute the preload file
call Preloader(udg_s__File_filename[this])
// Read the output
set output=BlzGetAbilityTooltip('Amls', 0)
call BlzSetAbilityTooltip('Amls', original, 0)
// Make sure the output is valid
if ( output == original ) then
return null
endif
return output
endfunction
function s__File_close takes integer this returns nothing
if ( udg_s__File_buffer[this] != null ) then
call s__File_write(this,s__File_readPreload(this) + udg_s__File_buffer[this])
set udg_s__File_buffer[this]=null
endif
set udg_s__File_List[this]=udg_s__File_List[0]
set udg_s__File_List[0]=this
endfunction
function s__File_readEx takes integer this,boolean close returns string
local string output= s__File_readPreload(this)
local string buf= udg_s__File_buffer[this]
if ( close ) then
call s__File_close(this)
endif
if ( output == null ) then
return buf
endif
if ( buf != null ) then
set output=output + buf
endif
return output
endfunction
function s__File_read takes integer this returns string
return s__File_readEx(this,false)
endfunction
function s__File_readAndClose takes integer this returns string
return s__File_readEx(this,true)
endfunction
function s__File_appendBuffer takes integer this,string contents returns integer
set udg_s__File_buffer[this]=udg_s__File_buffer[this] + contents
return this
endfunction
function s__File_readBuffer takes integer this returns string
return udg_s__File_buffer[this]
endfunction
function s__File_writeBuffer takes integer this,string contents returns nothing
set udg_s__File_buffer[this]=contents
endfunction
function s__File_append takes integer this,string contents returns integer
return s__File_write(this,s__File_read(this) + contents)
endfunction
function s__File_create takes string filename returns integer
return s__File_write(s__File_open(filename),"")
endfunction
//Implemented from module FileIO__FileInit:
function s__File_FileIO__FileInit___onInit takes nothing returns nothing
set udg_s__File_ReadEnabled=s__File_readEx(s__File_write(s__File_open("FileTester.pld"),"FileIO_"),true) == "FileIO_"
endfunction
function FileIO_Write takes string filename,string contents returns nothing
call s__File_close(s__File_write(s__File_open(filename),contents))
endfunction
function FileIO_Read takes string filename returns string
return s__File_readEx(s__File_open(filename),true)
endfunction
function FileIO_Append takes string filename,string contents returns nothing
call s__File_close(s__File_write(s__File_open(filename),contents))
endfunction