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.
Có ai bít cách sắp xếp abilities theo đúng thứ tự đc ko?
Em sắp xếp trong Object Editor nhưng 1 số hero khi vào game thì nó sẽ sắp xếp lại vị trí đảo lộn
Hiện nay em đang làm cái Hotkey Q/W/E/R mà như thế này chả bít làm sao nữa![]()
Ặc,như kỉu mình gà lắm ko bằng ấy
Tui đang hỏi là rõ ràng sắp xếp trong Object Editor,đảm bảo ko phải ở Abilities mà ở Unit
CÁi hotkey Q/W/E/R tui đã làm xong nhưng cái vị trị abilities đảo lộn nên mới nói là ko bít xoay xở thế nào

Ặc,như kỉu mình gà lắm ko bằng ấy
Tui đang hỏi là rõ ràng sắp xếp trong Object Editor,đảm bảo ko phải ở Abilities mà ở Unit
CÁi hotkey Q/W/E/R tui đã làm xong nhưng cái vị trị abilities đảo lộn nên mới nói là ko bít xoay xở thế nào
Art - Button Position - Normal (X): Vị trí nằm ngang (hàng), chỉnh là 0 thì nó sẽ nằm ở vị trí đầu tiên của hàng.
Art - Button Position - Normal (Y): Vị trí nằm dọc (cột), chỉnh là 0 thì nó sẽ nằm ở vị trí đầu tiên của cột.
Ðổi Icon thứ tự abiliti thử cách này xem sao. Vô F6, chọn Unit cần sửa. Mục "Abilites-Hero" bấm vào nhá. Bấm vào skill cần thay đổi vị trí, ở phía dưới sẽ hiện ra các nút chỉnh sửa như "Move Hero Ability Up" hoặc "Move Hero Ability Down". Là 2 nút nâng thêm 1 vị trí hoặc nhả lùi lại 1 vị trí ấy.
Cách này là cách tui làm mà ko đc còn gì
.Events
Player - Player 1 (Red) types a chat message containing -random as An exact match
Player - Player 2 (Blue) types a chat message containing -random as An exact match
Player - Player 3 (Teal) types a chat message containing -random as An exact match
Player - Player 4 (Purple) types a chat message containing -random as An exact match
Player - Player 5 (Yellow) types a chat message containing -random as An exact match
Player - Player 6 (Orange) types a chat message containing -random as An exact match
Conditions
(Number of units in (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True))) Equal to 0
Actions
Set Random_Hero = (Random integer number between 1 and Random_Count)
Unit - Create 1 Hero_Array[Random_Data[Random_Hero]] for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Game - Display to (All players) the text: (A player has randomed + (Name of (Last created unit)))
Selection - Select (Last created unit) for (Owner of (Last created unit))
Player - Add -425 to (Triggering player) Current gold
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Make (Unit-type of (Last created unit)) Unavailable for training/construction by (Picked player)
Set Random_Data[Random_Hero] = Random_Count
Set Random_Count = (Random_Count - 1)
À cho mình hỏi cách hồi sinh quái đã chết
không phải hồi sinh tại chỗ chết đâu nha
hoặc tự ra quái theo time( cái này có nghiên cứu trong Map 10 Hero nên cũng bít) nhưng khi ra khoảng 10 con là không ra nữa nếu còn 9 con thì ra tiếp 1 con làm sao
theo mình cần phải có 1 region bao quanh chỗ quái để đếm số quái phải không
À cho mình hỏi luôn phần Event óanh nhau nữa nếu có thì viết 1 trigger đầy đủ nha( không biết cách tạo Group chứa team 1 hoặc team 2) có map demo tốt hơn vì học trong Map dễ hiểu mau thuộc hơn
![]()

Ai biết lỗi này là gì không?? Warning: exec() has been disabled for security reasons in [path]/newattachment.php(160) : eval()'d code on line 16

Trigger lệnh random đó , ko có map demo
Mã:Events Player - Player 1 (Red) types a chat message containing -random as An exact match Player - Player 2 (Blue) types a chat message containing -random as An exact match Player - Player 3 (Teal) types a chat message containing -random as An exact match Player - Player 4 (Purple) types a chat message containing -random as An exact match Player - Player 5 (Yellow) types a chat message containing -random as An exact match Player - Player 6 (Orange) types a chat message containing -random as An exact match Conditions (Number of units in (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True))) Equal to 0 Actions Set Random_Hero = (Random integer number between 1 and Random_Count) Unit - Create 1 Hero_Array[Random_Data[Random_Hero]] for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees Game - Display to (All players) the text: (A player has randomed + (Name of (Last created unit))) Selection - Select (Last created unit) for (Owner of (Last created unit)) Player - Add -425 to (Triggering player) Current gold Player Group - Pick every player in (All players) and do (Actions) Loop - Actions Player - Make (Unit-type of (Last created unit)) Unavailable for training/construction by (Picked player) Set Random_Data[Random_Hero] = Random_Count Set Random_Count = (Random_Count - 1)
Random_hero là 1 biến Integer, Hero_Aray là 1 biến unit-type(array)
Biến Hẻo_array đuợc set ở 1 trigger khác, vd Map initialization:
Set Hero_Aray[1] = Paladin
Set Hero_Aray[2] = Atropos
......
Có bao nhiu hero thì bấy nhiu biến
Random_Count là biến integer, bằng với tổng số hero của bạn
Random Data là Biến Integer.
Map có trên forum thehelper.net
http://www.thehelper.net/forums/showthread.php?t=23952&p=178548
hoặc http://www.epicwar.com/maps/86068/
Ai biết lỗi này là gì không?? Warning: exec() has been disabled for security reasons in [path]/newattachment.php(160) : eval()'d code on line 16
.
? Cách đấy mà còn kô đc thì chịu
.