LeoNguyen112
Dragon Quest
- 22/5/10
Để ý thấy vài map nó làm mấy cái portrait của hero cứ như là add bằng Image bình thường ấy, k hề động 1 tí nào. Có ai biết làm cái kiểu ý k nhỉ?
Cái đấy theo mình nghĩ là cái portrait nó không có animation
Nó không có nên đứng im nhìn tường imageLàm sao để 1 hero ở trog 1 region quá lâu tới giây thứ 25 thỉ hero tự động move lập tức tới 1 vùng region khác ? trên đầu hero có hiện thời gian đếm ngược thanks nhìu.
Khi unit enter region thì start 1 countdown timer, làm 1 trigger khác với event là every second rồi create trên đầu hero floating text với text là remaining time của timer (phải convert string to real mới thấy dòng này). Timer = 0 thì move hero.
![]()
Cho hỏi làm sao đổi chữ Streng , Agility , Intelligin thành tên khác
Và cả cái bàn chân lun đó làm sao đổi thành hình cái khác ? thanks mấy anh trước ^^
Vào Advanced -> Game Interface -> Chọn Use Custom Game Interface -> tìm phần Icon để đổi hình, Text để đổi chữ
---------- Post added at 21:43 ---------- Previous post was at 21:34 ----------
Lỗi, event là time thì không có target of ability đâuCho mình hỏi thêm là trigger này bị gì mà khi cát skill, hẻo bị giật lùi?
Mã:Dash loop Events Time - Every 0.05 seconds of game time Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions Temp_tick Equal to 0 Then - Actions Unit - Make Caster Vulnerable Unit - Turn collision for Caster On Unit - Turn collision for (Picked unit) On Special Effect - Destroy Special_effect Trigger - Turn off (This trigger) Skip remaining actions Else - Actions Set Temp_tick = (Temp_tick - 1) [COLOR="#FF0000"][B] Set Temp_loc[0] = (Target point of ability being cast)[/B][/COLOR] Set Temp_loc[1] = (Position of Caster) Set Temp_loc[2] = (Temp_loc[1] offset by Temp_Distance[1] towards Temp_Angle degrees) Set Temp_loc[3] = (Temp_loc[0] offset by Temp_Distance[2] towards Temp_Angle degrees) Set Temp_Group = (Units within 220.00 of Temp_loc[0] matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster)) Equal to True))) Unit Group - Pick every unit in Temp_Group and do (Actions) Loop - Actions Unit - Turn collision for (Picked unit) Off Unit - Move (Picked unit) instantly to Temp_loc[3] Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\NightElf\FaerieDragonInvis\FaerieDragon_Invis.mdl Special Effect - Destroy (Last created special effect) Unit - Turn collision for Caster Off Animation - Play Caster's Animation - Attack Alternate animation Unit - Make Caster Invulnerable Unit - Move Caster instantly to Temp_loc[2] Unit - Create 1 Dummy 1 for (Owner of Caster) at Temp_loc[2] facing Default building facing degrees Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 50.00% transparency Animation - Play (Last created unit)'s Animation - Attack Alternate animation Unit - Set level of Dummy Dash for (Last created unit) to (Level of Dash for Caster) Unit - Order (Last created unit) to Neutral Pit Lord - Howl Of Terror Unit - Add a 1.00 second Generic expiration timer to (Last created unit) EGUI Leak - Remove Temp_loc[0] EGUI Leak - Remove Temp_loc[1] EGUI Leak - Remove Temp_loc[2] EGUI Leak - Remove Temp_loc[3] EGUI Leak - Destroy Temp_Group
, nên set nó là 1 biến Target rồi mói set point.Sẵn cho hỏi ai biết cách làm spell mà không stop hero lại không. Như skill 2 pudge cast mà vẫn channel, healing poiton của dota dùng trong lúc di chuyển,...


.
Nói như kiểu cậu thì tôi lên đây hỏi làm quái gì?