Thedevilxn
Mayor of SimCity
- 1/1/04
- 4,439
- 1
Cách chọn hero của tui thì cũng đơn giản lắm nó cần 1 trigger tạo hero+[số trigger player select hero]+1 trigger deselect unit+1 trigger stop actionNIDOKING nói:@Thedevil: Ông cho tui sử dụng cách chọn hero của ông được không? Tui thấy cách đó hay wá, vừa tiện vừa hay...
Trước tiên là tạo 1 ability dỏm để làm ability chọn hero vd như tui lấy ability berserk để làm

Sau đó tạo 1 ability ẩn như item ability hay ability sphere và set nó là item hoặc norman ability chứ ko phải là hero ability đặt tên nó là detect hero sau đó thì lập 1 trigger khác với event là map intial để add hai ability trên vào các hero neutral trong khu vực chọn hero hay ông có thể add vào trong trigger game set của ông cũng được
========Game set==========
Event:map intial
Condition:none
Action:Unit group-Pick every unit in [region của khu chọn hero] do multi action
+Add select hero to picked unit
+Add detect hero to picked unit
========Player select hero==========
Event:Player1 select a unit
Condition:And all condition equal to true
+Triggering unit is a hero
+Owner of triggering unit equal to neutral passive
+Level of ability for triggering unit equal to 1
Action:
+Change owner of triggering unit to triggering player
''Copy trigger này ra cho đủ số player là xong phần click vô change owner hero''
=======Player deselect hero=========
Event:Player number deselect unit->làm 12 event luôn
Condition:All all condition equal to true
+Triggering unit is a hero equal to true
+Level of detect hero for triggering unit equal to 1
Action:
Change owner of triggering unit to neutral passive
=======Stop action=========
Event:A unit issue target a point
Condition:And all condition equal to true
+Ordered unit is a hero equal to true
+Level of detect hero for ordered unit equal to 1
+Current issue not equal to order stop
Action:
-Game show:please use ''select hero'' in this unit to create 1 for you
-Change owner of ordered unit to neutral passive
-Order ordered unit to stop
======Hero create=======
Event:A unit begin casting an ability
Condition:ability being cast equal to hero select
Action:
Create 1 unit type of triggering unit for owner of triggering unit at [region]
Remove triggering unit from the game
If owner of triggering unit equal to player1 then turn of [player select hero1] else do nothing
If owner of triggering unit equal to player2 then turn of [player select hero2] else do nothing..............
Event:A unit gain a levelLàm sao cho hero khi lên level có nhiều point skill để nâng nhiều spell hơn?
Condition:tuỳ ông thoai
Action:
+Hero-Modify skill point of triggering unit add [number] skills point
Cái này tui ko rành để TTM hay AR trả lời ông vậy :pSao tui import mí cái model rùi chỉnh path như trong readme mà vô chơi chỉ thấy cái bóng của con đó mà no thấy nó...?

, đến hết tháng 12 mới hết cấm. Em hỏi là làm thế nào cho mặt đất rung chuyển hình sóng nước??