function DebugError takes player ForPlayer, string msg returns nothing
local sound error=CreateSoundFromLabel("InterfaceError",false,false,false,10,10)
if (GetLocalPlayer() == ForPlayer) then
if (msg!="") and (msg!=null) then
call ClearTextMessages()
call DisplayTimedTextToPlayer(ForPlayer, 0.85, 0., 2.00, "|cffffcc00"+msg+"|r")
endif
call StartSound(error)
endif
call KillSoundWhenDone(error)
set error=null
endfunction
//=============================================
//Gw Buat ini supaya biar gampang kalo ngebuat function untuk Unit Terbang
//Jadi Gampang Tinggal Tulis
//call ReqKaloMauTerbang(UNIT LU)
//Contohnya
//call ReqKaloMauTerbang(udg_US_Caster[udg_US_Index])
//call ReqKaloMauTerbang(GetLastCreatedUnit())
//Have Fun
function ReqKaloMauTerbang takes unit a returns nothing
call UnitAddAbilityBJ('Arav',a)
call UnitRemoveAbilityBJ('Arav',a)
endfunction
//=============================================
//Refresh Unit By Packing
//=============================================
function Refresh takes unit u returns nothing
call SetUnitLifePercentBJ(u,100.0)
call SetUnitManaPercentBJ(u,100.0)
call UnitResetCooldown(u)
endfunction
//====================================================
//Paketan Biar langsung Gampang Dalam Remove Leaks ^^
//====================================================
//Remove Location
function rl takes location l returns nothing
call RemoveLocation(l)
set l = null
endfunction
//=============================================
//Destroy Group
function dg takes group g returns nothing
call DestroyGroup(g)
set g = null
endfunction
//=============================================
//Destroy Effect
function de takes effect e returns nothing
call DestroyEffect(e)
set e = null
endfunction
Name | Type | is_array | initial_value |
Area_Flash_Attack | location | Yes | |
Area_Lava_Spawn | location | Yes | |
Area_Meteor | location | Yes | |
Area_Mof_Level_2 | location | Yes | |
Caster_Loc | location | No | |
Casting_Unit | unit | No | |
Clicked_Unit | unit | No | |
Creep_Face_Ang | real | Yes | |
Creep_Loc | location | Yes | |
Dummy | unit | No | |
Dummy_Loc | location | No | |
Dummy_Spell_Unit_1 | unit | Yes | |
Dummy_Spell_Unit_2 | unit | Yes | |
Dummy_Spell_Unit_3 | unit | Yes | |
Dummy_Spell_Unit_4 | unit | Yes | |
Dummy_Spell_Unit_LifeDeath | unit | Yes | |
Dummy_Spell_Unit_MoF | unit | Yes | |
F_Spell | texttag | Yes | |
F_Spell_Area | location | Yes | |
Hero_Loc | location | Yes | |
Heroes | unit | Yes | |
Integer | integer | No | |
Lock_1 | destructable | Yes | |
Lock_2 | destructable | Yes | |
Lock_3 | destructable | Yes | |
Lock_4 | destructable | Yes | |
LS_Caster | unit | Yes | |
LS_Caster_Loc | location | Yes | |
LS_CustomV | integer | No | |
LS_Dummy | unit | Yes | |
LS_Dummy_Loc | location | Yes | |
LS_Group | group | No | |
LS_Hit_Group | group | Yes | |
LS_Index | integer | No | |
LS_Movement | location | No | |
LS_Unit | unit | Yes | |
Meteor_Group_Hit | group | No | |
MoF_Caster | unit | Yes | |
MoF_CustomV | integer | No | |
MoF_Group | group | No | |
MoF_Index | integer | No | |
MoF_Target | unit | Yes | |
MoF_Unit | unit | Yes | |
Movement | location | No | |
OnEscape | boolean | Yes | |
PlayerNumber | integer | No | |
S_Clicked_Spell_1 | destructable | Yes | |
S_Clicked_Spell_2 | destructable | Yes | |
S_Clicked_Spell_3 | destructable | Yes | |
S_Clicked_Spell_4 | destructable | Yes | |
S_Clicked_Spell_5 | destructable | Yes | |
S_Clicked_Spell_6 | destructable | Yes | |
SP_FT_On | boolean | Yes | |
Spell_Camera | camerasetup | Yes | |
Spell_FlashAttack | boolean | Yes | |
Spell_LavaSpawn | boolean | Yes | |
Spell_Life_Death | boolean | Yes | |
Spell_List_ON_OFF | boolean | Yes | |
Spell_Meteor | boolean | Yes | |
Spell_MoF_Lv1 | boolean | Yes | |
Spell_MoF_Lv2 | boolean | Yes | |
Spell_Points | integer | Yes | |
Spell_Points_Area | location | Yes | |
Spell_Points_Floating_Text | texttag | Yes | |
Target_Unit | unit | No | |
Temp_Point | location | No | |
Temp_Unit | unit | No |
________________________________________________________________
| |
| All spells were made for the spell forum at forum.nusa.net.id |
|_______________________________________________________________|
*****************************************************************
* MrBoneClinkz Production *
*****************************************************************
Destructables Spell System [GUI VERSION]
______________________________________
________________________________________________________________
_____________________________
Implementation Instructions:
_____________________________
1. Go to the Object Editor, Open Destructibles, Search the - Icon - Spells - *******
Copy one of them, to your maps [For Easy,Copy Only One].After Copying, Change the Texture of the Icon
at "Replaceable Textures File" as you wish.After you change, and you wants to create destructables
icons, copy from your lastest destructables.Don't Forget important Things.
Copy also the Models and Textures from Import Manager..!!!
2. Copy the Category [Spell System] which had "Init,On System,AutoSpellCam,etc" triggers.
Don't forget Copy the Variables OR if you wants be easyly, let me show you my experience to copy
Variable Easyly.
Open File -> Preferences -> Check "Automatically create unknown variables while pasting trigger data
3. Learn.... Learn... and Learn.. Until you Get The Key of Making Learning Spell With Destructables icon
4. Sorry for Spells.Would be better focus the system :D
5.Have Fun With My System.