Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
extract ra -> ko the mở maps dc:( bản war3x
. Ai sửa hộ mình cho nó loop với
!Untitled Trigger 003
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Howl of Terror
Actions
Set Point_Caster = (Position of (Triggering unit))
Destructible - Pick every destructible within 300.00 of Point_Caster and do (Actions)
Loop - Actions
Destructible - Kill (Picked destructible)
Set Cast_Point = (Position of (Picked destructible))
Unit - Create 1 Treant for (Owner of (Triggering unit)) at Cast_Point facing Point_Caster
World editor 1.24 có thêm bào "Hastable". Vậy Hastable là gì? Có giống với game cache không?:)
Ai có thể giảng sơ qua khái niệm và cách sử dụng hastable cho tui kô??

Cứ dùng WinMPQ extract hết 2 cái war3.mpq với war3x.mpq ra xong vào mục Maps, ở đó có các file w3m chính là map bạn cần

Leak 1 pointGiúp mình cái vụ loop với! Trigger dưới nếu remove point thì chỉ ra 1 con Treant, thử loop (nhưng hình như sai :P) thì ra 1 đống Treant, còn để như bên dưới thì bình thường, nhưng leak. Ai sửa hộ mình cho nó loop với
!
Mô tả : Khi 1 unit cast spell thì cứ mỗi cái cây xung quanh unit biến thành 1 Treant...
Code:
Untitled Trigger 003
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Howl of Terror
Actions
Set Point_Caster = (Position of (Triggering unit))
Destructible - Pick every destructible within 300.00 of Point_Caster and do (Actions)
Loop - Actions
Destructible - Kill (Picked destructible)
Set Cast_Point = (Position of (Picked destructible))
Unit - Create 1 Treant for (Owner of (Triggering unit)) at Cast_Point facing Point_Caster
Biến ra Jass xong cho đoạn create Treant và xóa Destructible vào đoạn giống như dưới đâyCustom Script: call RemoveLocation(udg_Cast_Point)
loop
exitwhen == i // điền con số mà bạn mong muốn vào i, nó là số lần lặp!
// nhồi hết đoạn code mà tui nói phía trên vào đây
set i = i +1
endloop

@Tom_Kazansky: Có nên tổ chức cuộc thi tạo Banner cho box WE không nhỉ, banner hiện tại.. à không nó là đoạn chữ chạy marquee mới đúng nhìn không ấn tượng
Cả topic cũng đã có số lượng bài post kha khá, nên đập đi xây nhà mới.
Leak 1 point
thêm đoạn custom script vào là
YAN[asian];13893785 nói:Cái đấy bình thường nó mặc định chỉ cast đc vào đồng đội máu ko full và deal dam vào Undead unit, ko có cách nào làm khác đc! Còn muốn 1 spell Holy Light như trên thì phải trigger it thôi, nhưng mà là 1 spell khác "giả" Holy Light.
Holy life
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Acid Bomb
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Target unit of ability being cast) belongs to an ally of (Owner of (Triggering unit))) Equal to True
Then - Actions
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + (((Real((Level of Acid Bomb for (Triggering unit)))) x 75.00) + 75.00))
Else - Actions
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (75.00 x (Real((Level of Acid Bomb for (Triggering unit))))) damage of attack type Spells and damage type Normal
cái đó bạn phải mở bằng trình Campaign Editor trước thì phải, trong đó có nhiều map nhỏ khác nhau, lúc ấy mới mở map ra coi được.
mình ko thick các maps "Campaign Editor" because có vài maps khóa rùi
Các bro cho hỏi làm thế nào để sound và music trong game giảm dần cho đến im lặng mà vẫn có thể play sound được
Trong map JDay lúc mà xuất hiện boss cuối ấy

Ơ...kìa.....![]()
function SetSoundVolumeBJ takes sound soundHandle, real volumePercent returns nothing
Các bro cho hỏi làm thế nào để sound và music trong game giảm dần cho đến im lặng mà vẫn có thể play sound được
Trong map JDay lúc mà xuất hiện boss cuối ấy
Untitled Trigger 001
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TempReal Greater than 1.00
Then - Actions
Set TempReal = (TempReal - 1.00)
Sound - Set Ambient Sounds to TempReal%
Sound - Set Animation and Spell Sounds to TempReal%
Sound - Set Combat Sounds to TempReal%
Sound - Set Fire Sounds to TempReal%
Sound - Set Music to TempReal%
Sound - Set Unit Movement Sounds to TempReal%
Sound - Set Unit Response Sounds to TempReal%
Sound - Set User Interface Sounds to TempReal%
Else - Actions
Set TempReal = 100.00
Sound - Set Ambient Sounds to TempReal%
Sound - Set Animation and Spell Sounds to TempReal%
Sound - Set Combat Sounds to TempReal%
Sound - Set Fire Sounds to TempReal%
Sound - Set Music to TempReal%
Sound - Set Unit Movement Sounds to TempReal%
Sound - Set Unit Response Sounds to TempReal%
Sound - Set User Interface Sounds to TempReal%
Trigger - Turn off (This trigger)

call PlaySoundBJ( gg_snd_PH1 )

Nghĩa là.. Sound giảm dần, sau đó play nhạc.. sound lại to lên
Mã:function SetSoundVolumeBJ takes sound soundHandle, real volumePercent returns nothing
Thử nó xem, trước đến nay chưa làm 1 thứ gì liên quan đến sound :(

Event - A unit is attacked
Condition - Unit type of Attacking unit has buff "Phản đam" equa True
Action - Unit - Cause (Attacking unit) to damage (Tringering unit), dealing ((10.00 x (Real((Level of "phản đam" for (Attacking unit))))) + 10.00) damage of attack type Spells and damage type Normal

