Boleh custom icons buat dwarf2, opening image juga boleh... nanti kita bikin GEAR fanart skalian.
Printable View
Boleh custom icons buat dwarf2, opening image juga boleh... nanti kita bikin GEAR fanart skalian.
URGENT NEWS!!!! meeting hari ini di postpone jadi jam 11:00 malam, gua soalnya ada acara makan malem ampe kira2 jam 10:00an... sry ya >.<
Gw dah nyepetin kerja gw bikin worksheet ... mikir2x kynya gw telat ... ternyata .... di-delay ....
alhasil kerjaan gw salah semua dan gw harus bikin lg ....
Diklik ?... bukannya biasanya kl diambil / dibeli / ( entah gimana caranya masuk inventory ?...Quote:
Originally Posted by DJTuing
euh pake jass ... soalnya kl pake GUI males gw ngklik .... ::hdbang::Code:function Trig_Merge_Conditions takes nothing returns boolean
return GetItemType(GetManipulatedItem()) == ITEM_TYPE_CHARGED and GetItemCharges(GetManipulatedItem()) > 0
endfunction
function Trig_Merge_Actions takes nothing returns nothing
//data
local unit manipulator = GetManipulatingUnit()
// hero manipulating item
local item manipulated = GetManipulatedItem()
// manipulated item
local integer index = 0
// loop control
local integer maxitem = 20
// item maximum number kl mau banyak atau lebih set aja di 999
local integer charges
// number of charges
//data
loop
exitwhen index > 6
if GetItemTypeId(manipulated) == (GetItemTypeId(UnitItemInSlot(manipulator, index))) then
if GetItemCharges(UnitItemInSlot(manipulator, index)) + GetItemCharges(manipulated) <= maxitem then
if UnitItemInSlot(manipulator, index) != manipulated then
set charges = GetItemCharges(UnitItemInSlot(manipulator, index)) + GetItemCharges(manipulated)
call SetItemCharges(UnitItemInSlot(manipulator, index), charges)
call RemoveItem(manipulated)
set index = 666
endif
endif
endif
set index = index + 1
endloop
// Remove Memory Leaks
set manipulator = null
set manipulated = null
endfunction
//===========================================================================
function InitTrig_Merge takes nothing returns nothing
set gg_trg_Merge = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Merge, EVENT_PLAYER_UNIT_PICKUP_ITEM )
call TriggerAddCondition( gg_trg_Merge, Condition( function Trig_Merge_Conditions ) )
call TriggerAddAction( gg_trg_Merge, function Trig_Merge_Actions )
endfunction
Woi pd kmn neh? koq offline smua.. gua tunguin deh skrg
tadi gw masuk masih kosong ...
gw masuk lg de skrg
Yaudah, yg laen nya kmn? omg plsss swt dah ini kpn jadinya...
wa sih spell na dah jadi dari kemaren doos... tapi kan u bilang dalam bentuk word aja ya udah... nih 75 spell dalam bentuk note pad :D. mo di kirim kapan ne?
SKrg!! huahaha! MUAHAHAH! MEHEHEHE! HAHAHAHA!
kirim lewat pm ya, jgn disini
Iya, yg itu gua blom bisa jawab... :D lu kirim aja skrg wa pasti jawab koq
woghhhhhh........ jadi begitu ye..... T_T.... kenapa pertanyaan ku tidak bisa engkau jawab... padahal sangat mudah and simple ( teng teng *Winter Sonata Music: On*)..... padahal ak sudah menunggu 3 hari 3 malam di depan komputer..... ak menunggu dengan sabar... tapi..... Oh Tidakkkkkkkkk!!!! (Ajeb AJeb: On)
I Feel Good tee tot tot tet tot..... ./swt bulet bulet gede gede lagi :D
ya udah deh pokoknya wa tunggu was kalo ga kasih wa lempar ne make pesona Warden ./gg. ama ni wa PM spell na biar lo langsung koreksi and kalo ada apa apa langsung bilang oke? biar ak bisa langsung ke Next Steep
Item Stacking WarinLL
Events
Unit - A unit Acquires an item
Conditions
(Charges remaining in (Item being manipulated)) Greater than 0
Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A)))
(Item being manipulated) Not equal to (Item carried by (Hero manipulating item) in slot (Integer A))
Then - Actions
Item - Set charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A)) to ((Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A))) + (Charges remaining in (Item being manipulated)))
Item - Remove (Item being manipulated)
Else - Actions
Dj... wa lom dpt pm nya