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.
ai cho mình xin cái system quest được không?
Anh Tom nếu rảnh làm hộ em cái map demo về khoản swap hero của player này cho player khác nhéCơ chế thì em cũng hiểu nhưng làm cho nó MPI thì có vẻ hơi... oải ==!
1 player có 1 hero thì cái swap hero của mình có thể dùng được đấy. = GUI nhá :p
Mình đang làm hero arena nên 1 người cũng chỉ sở hữu 1 hero thôi
Để mình thử 
cho mình hỏi làm sao để mất cái vòng sáng theo màu của player nhỉ. không phải làm mất mà là nhỏ lại cho vừa với hero thôi. chứ to quá nhìn xấu. ai chỉ mình với. VD player red thì mọi hero đều có cái vầng màu đỏ dưới chân đó. làm sao để cho cái vâng đó nhỏ lại. dùng War3modelEditor phải không nhỉnhưng mình không biết làm. ai chỉ với

)
Em bik hỏi cái này có lẽ không đúng chủ đề nhưng ai có directX8.1 thì cho em xin ... không có cái này em không làm map được ... haizz !

Custom script: set bj_wantDestroyGroup = true
Custom script: set bj_wantDestroyGroup = true
Cho mình hỏi cái dòng code này để làm gì đây:
[/COLOR]Cho mình hỏi cái dòng code này để làm gì đây:
Mã:Custom script: set bj_wantDestroyGroup = true
trigger
Events
Conditions
Actions
Set TempGroup = (Units in (Playable map area))
Unit Group - Pick every unit in TempGroup and do (Actions)
Loop - Actions
Memory Leak - Destroy TempGroup
trigger
Events
Conditions
Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
trigger
Events
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Custom script: DestroyGroup( GetLastCreatedGroup() )
Earth Wave (Initially ON)
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Earth Wave
Actions
Set EarthWaveIndex = (EarthWaveIndex + 1)
Set EarthWaveCaster[EarthWaveIndex] = (Casting unit)
Set EarthWaveCasterLoc[EarthWaveIndex] = (Position of EarthWaveCaster[EarthWaveIndex])
Set EarthWavePoint[EarthWaveIndex] = (Target point of ability being cast)
Set EarthWaveDistance[EarthWaveIndex] = (Distance between EarthWaveCasterLoc[EarthWaveIndex] and EarthWavePoint[EarthWaveIndex])
Set EarthWaveAngle[EarthWaveIndex] = (Angle from EarthWaveCasterLoc[EarthWaveIndex] to EarthWavePoint[EarthWaveIndex])
For each (Integer A) from 1 to GrandSBCurrentIndex, do (Actions)
Loop - Actions
Custom script: call RemoveLocation(udg_EarthWaveCasterLoc[GetForLoopIndexA()])
Custom script: call RemoveLocation(udg_EarthWavePoint[GetForLoopIndexA()])
Earth Wave Move (Initially ON)
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to EarthWaveIndex, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
EarthWaveDistance[(Integer A)] Greater than 0.00
Then - Actions
Unit - Make EarthWaveCaster[(Integer A)] Invulnerable
Unit - Turn collision for EarthWaveCaster[(Integer A)] Off
Animation - Change EarthWaveCaster[(Integer A)]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
Set EarthWaveLoc = (Position of EarthWaveCaster[(Integer A)])
Set EarthWaveLoc2 = (EarthWaveLoc offset by 45.00 towards EarthWaveAngle[(Integer A)] degrees)
Set EarthWaveDistance[(Integer A)] = (EarthWaveDistance[(Integer A)] - 45.00)
Unit - Move EarthWaveCaster[(Integer A)] instantly to EarthWaveLoc2
Special Effect - Create a special effect at EarthWaveLoc using Stonespear.mdx
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at EarthWaveLoc using Abilities\Spells\Orc\EarthQuake\EarthQuakeTarget.mdl
Special Effect - Destroy (Last created special effect)
[COLOR="#0000FF"]Set EarthWaveGroup[(Integer A)] = (Units within 225.00 of EarthWaveLoc matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) is Magic Immune) Not equal to True) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner
Unit Group - Pick every unit in EarthWaveGroup[(Integer A)] and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is in EarthWaveHitGroup[(Integer A)]) Not equal to True
Then - Actions
Unit Group - Add (Picked unit) to EarthWaveHitGroup[(Integer A)]
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has an item of type |cff0000ffEmblem of Water|r) Equal to True
Then - Actions
Unit - Cause EarthWaveCaster[(Integer A)] to damage (Picked unit), dealing (55.00 + (50.00 x (Real((Level of Earth Wave for EarthWaveCaster[(Integer A)]))))) damage of attack type Spells and damage type Normal
Unit - Cause EarthWaveCaster[(Integer A)] to damage (Picked unit), dealing 150.00 damage of attack type Spells and damage type Normal
Floating Text - Create floating text that reads (|cff804000+150!|r + <Empty String>) above (Picked unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Else - Actions
Unit - Cause EarthWaveCaster[(Integer A)] to damage (Picked unit), dealing (55.00 + (50.00 x (Real((Level of Earth Wave for EarthWaveCaster[(Integer A)]))))) damage of attack type Spells and damage type Normal
Else - Actions[/COLOR] Unit - Create 1 Earth Wave Dummy for (Owner of EarthWaveCaster[(Integer A)]) at EarthWaveLoc facing Default building facing degrees
Unit - Add a 0.01 second Generic expiration timer to (Last created unit)
Unit - Set level of Earth Wave Dummy for (Last created unit) to (Level of Earth Wave for EarthWaveCaster[(Integer A)])
Unit - Order (Last created unit) to Neutral - Slam
Custom script: call DestroyGroup(udg_EarthWaveGroup[GetForLoopIndexA()])
Custom script: call RemoveLocation(udg_EarthWaveLoc)
Custom script: call RemoveLocation(udg_EarthWaveLoc2)
Else - Actions
Unit Group - Remove all units from EarthWaveHitGroup[(Integer A)]
Unit - Turn collision for EarthWaveCaster[(Integer A)] On
Unit - Make EarthWaveCaster[(Integer A)] Vulnerable
Animation - Change EarthWaveCaster[(Integer A)]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency[COLOR="Silver"]
[SIZE=1]---------- Post added at 00:23 ---------- Previous post was at 00:21 ----------[/SIZE]
[/COLOR]

Thế cho mình hỏi sound của Marine để ở đâu vậy mà mình kiếm chẳng thấy?ví dụ con Footman nhé. kiếm phần Object Manager Sound - Unit Sound Set Footman
sau đó vào phần Sound Editor bấm kiếm Sound Set Footman Internal/Units/Footman ví dụ FootmanDeath.wav bấm chuột phải chọn Replace Internal Sound chọn sound nào đó là file wav là ok. vậy con footman chết sẽ ra sound đó'
Coi hộ mình luôn cái đoạn code ==! Đang làm cái wave giống morph (MUI) mà những con lướt qua sẽ bị dính dmg + slow. Slow thì có Slam rồi. Còn cái khoản gây dmg 1 lần thì... Cast được mấy phát đầu ổn, chỉ gây dmg 1 lần nhưng... mấy phát sau lại cứ 0.03s gây dmg liên tục mấy lần liền... Chả hiểu tại sao =.=! Đang thắc mắc ở chỗ bôi xanh tại trigger thứ 2...
Mã:Earth Wave (Initially ON) Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Earth Wave Actions Set EarthWaveIndex = (EarthWaveIndex + 1) Set EarthWaveCaster[EarthWaveIndex] = (Casting unit) Set EarthWaveCasterLoc[EarthWaveIndex] = (Position of EarthWaveCaster[EarthWaveIndex]) Set EarthWavePoint[EarthWaveIndex] = (Target point of ability being cast) Set EarthWaveDistance[EarthWaveIndex] = (Distance between EarthWaveCasterLoc[EarthWaveIndex] and EarthWavePoint[EarthWaveIndex]) Set EarthWaveAngle[EarthWaveIndex] = (Angle from EarthWaveCasterLoc[EarthWaveIndex] to EarthWavePoint[EarthWaveIndex]) For each (Integer A) from 1 to GrandSBCurrentIndex, do (Actions) Loop - Actions Custom script: call RemoveLocation(udg_EarthWaveCasterLoc[GetForLoopIndexA()]) Custom script: call RemoveLocation(udg_EarthWavePoint[GetForLoopIndexA()])
Mình đang cần cái này gấp lắm >"< Ai rảnh sửa dùm mình càng sớm càng tốt >"< Cảm ơn trước luônMã:Earth Wave Move (Initially ON) Events Time - Every 0.03 seconds of game time Conditions Actions For each (Integer A) from 1 to EarthWaveIndex, do (Actions) Loop - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions EarthWaveDistance[(Integer A)] Greater than 0.00 Then - Actions Unit - Make EarthWaveCaster[(Integer A)] Invulnerable Unit - Turn collision for EarthWaveCaster[(Integer A)] Off Animation - Change EarthWaveCaster[(Integer A)]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency Set EarthWaveLoc = (Position of EarthWaveCaster[(Integer A)]) Set EarthWaveLoc2 = (EarthWaveLoc offset by 45.00 towards EarthWaveAngle[(Integer A)] degrees) Set EarthWaveDistance[(Integer A)] = (EarthWaveDistance[(Integer A)] - 45.00) Unit - Move EarthWaveCaster[(Integer A)] instantly to EarthWaveLoc2 Special Effect - Create a special effect at EarthWaveLoc using Stonespear.mdx Special Effect - Destroy (Last created special effect) Special Effect - Create a special effect at EarthWaveLoc using Abilities\Spells\Orc\EarthQuake\EarthQuakeTarget.mdl Special Effect - Destroy (Last created special effect) [COLOR="#0000FF"]Set EarthWaveGroup[(Integer A)] = (Units within 225.00 of EarthWaveLoc matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) is Magic Immune) Not equal to True) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner Unit Group - Pick every unit in EarthWaveGroup[(Integer A)] and do (Actions) Loop - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions ((Picked unit) is in EarthWaveHitGroup[(Integer A)]) Not equal to True Then - Actions Unit Group - Add (Picked unit) to EarthWaveHitGroup[(Integer A)] If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions ((Picked unit) has an item of type |cff0000ffEmblem of Water|r) Equal to True Then - Actions Unit - Cause EarthWaveCaster[(Integer A)] to damage (Picked unit), dealing (55.00 + (50.00 x (Real((Level of Earth Wave for EarthWaveCaster[(Integer A)]))))) damage of attack type Spells and damage type Normal Unit - Cause EarthWaveCaster[(Integer A)] to damage (Picked unit), dealing 150.00 damage of attack type Spells and damage type Normal Floating Text - Create floating text that reads (|cff804000+150!|r + <Empty String>) above (Picked unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees Floating Text - Change (Last created floating text): Disable permanence Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds Else - Actions Unit - Cause EarthWaveCaster[(Integer A)] to damage (Picked unit), dealing (55.00 + (50.00 x (Real((Level of Earth Wave for EarthWaveCaster[(Integer A)]))))) damage of attack type Spells and damage type Normal Else - Actions[/COLOR] Unit - Create 1 Earth Wave Dummy for (Owner of EarthWaveCaster[(Integer A)]) at EarthWaveLoc facing Default building facing degrees Unit - Add a 0.01 second Generic expiration timer to (Last created unit) Unit - Set level of Earth Wave Dummy for (Last created unit) to (Level of Earth Wave for EarthWaveCaster[(Integer A)]) Unit - Order (Last created unit) to Neutral - Slam Custom script: call DestroyGroup(udg_EarthWaveGroup[GetForLoopIndexA()]) Custom script: call RemoveLocation(udg_EarthWaveLoc) Custom script: call RemoveLocation(udg_EarthWaveLoc2) Else - Actions Unit Group - Remove all units from EarthWaveHitGroup[(Integer A)] Unit - Turn collision for EarthWaveCaster[(Integer A)] On Unit - Make EarthWaveCaster[(Integer A)] Vulnerable Animation - Change EarthWaveCaster[(Integer A)]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency[COLOR="Silver"] [SIZE=1]---------- Post added at 00:23 ---------- Previous post was at 00:21 ----------[/SIZE] [/COLOR]![]()
tăng size cái chỗ tạo Variable ý , mặc định của variable array là 1 thì bạn tăng nó lên
Spell wave mà dùng slam thì rất lag , nên dùng cripple lên từng picked unit thì hơn , condition thêm là con nào có buff slow rồi thì thôi ko cast buff vào nó nữa.
Dùng slam thì có vẻ lag thật nên có lẽ mình sẽ chuyển sang cripple hoặc slow :)Unit Group - Add (Picked unit) to EarthWaveHitGroup[(Integer A)] (Size = 12)
Quay lại cái skill Earth Wave kia phát. Mình mới nhận ra là size của cái HitGroup kia = bao nhiêu thì sau bấy nhiêu lần cast nó sẽ lại về tình trạng gây dmg liên tục ==! Ví dụ mình để 12 thì 12 lần cast đầu chỉ gây dmg 1 lần và từ lần 13 trở đi là lại cứ 0.03s gây dmg 1 lần ==! Ai biết cách khắc phục ko?
Mã:Unit Group - Add (Picked unit) to EarthWaveHitGroup[(Integer A)] (Size = 12)

Quay lại cái skill Earth Wave kia phát. Mình mới nhận ra là size của cái HitGroup kia = bao nhiêu thì sau bấy nhiêu lần cast nó sẽ lại về tình trạng gây dmg liên tục ==! Ví dụ mình để 12 thì 12 lần cast đầu chỉ gây dmg 1 lần và từ lần 13 trở đi là lại cứ 0.03s gây dmg 1 lần ==! Ai biết cách khắc phục ko?
Mã:Unit Group - Add (Picked unit) to EarthWaveHitGroup[(Integer A)] (Size = 12)
.Cậu thử đừng dùng Group Array xem và trong cái hàm 0.03s gì đó có cả hàm Unit Group - Remove all units form Group nào đó - Tớ nghĩ chắc tại cái này ý!![]()
1 game chắc chả ai cast đủ 2000 lần đâu nhỉ 
Bình thường shop đã bán item cho nhiều hero cùng lúc rồiSr :P hỏi ko đúng: Làm sao để Shop có thể bán item cho nhìu hero cùng 1 lúc ai zúp zùm Thanks nhìu.
Còn nếu 1 player có nhiều hero đứng xung quanh shop thì con hero nào có hình mũi tên ở trên đầu sẽ được ưu tiên mua trước.Thôi bỏ đi :) Mình để size lên 20001 game chắc chả ai cast đủ 2000 lần đâu nhỉ
![]()
