vuongkkk
T.E.T.Я.I.S
- 22/5/10
- 588
- 844
^ Nếu vậy quá đơn giản
[spoil]
[/spoil]
Thay BossRegion từ Point Array thành Region Array
[spoil]
Mã:
Hac Lang Back to Home
Events
Conditions
(Unit-type of (Triggering unit)) Equal to |c000000a0H¾c Lang|r|c00000040 |r
Actions
Set LeakPoint = (Center of (<Region>))
Order (Triggering Unit) to Move To LeakPoint
Custom script: call RemoveLocation(udg_LeakPoint)
Mã:
HacLang Creat
Events
Time - Elapsed game time is 15.00 seconds
Conditions
Actions
Set BossRegion[1] = (Boss 1 <gen>)
Set BossRegion[2] = (Boss 2 <gen>)
Set BossRegion[3] = (Boss 3 <gen>)
Set BossRegion[4] = (Boss 4 <gen>)
Set LeakInt = (Random integer number between 1 and 4)
Set LeakPoint = (Center of (BossRegion[LeakInt]))
Unit - Create 1 |c000000a0H¾c Lang|r|c00000040 |r for Neutral Hostile at LeakPoint facing Default building facing degrees
Trigger - Add to (Hac Lang Back to Home) the event (Unit - A unit leaves BossRegion[LeakInt])
Game - Display to (All players) for 10.00 seconds the text: |c000000a0H¾c Lang...
Custom script: call RemoveLocation(LeakPoint )
Thay BossRegion từ Point Array thành Region Array

.