Change in status of a unit by specific condition.

 RichardCory


Joined:  25 Tháng 4 2013
Posts: 26
đã Post11 Tháng 5 2014 - 4:51 pm
Hi guys.
I would like to know how to make a unit's attack/hp increase with a kill or razings. Like 1 attack increase on every 5th kill or razing. Answers will be appreciated. Thanks in advance.
Đường dẫn | Trả lời | Trích dẫn
 [GvR]Do0m


Joined:  29 Tháng 12 2009
Posts: 306
đã Post11 Tháng 5 2014 - 5:38 pm
This is not Possible with the In-game Scenario Editor, you will need AOKTS to make this work.

In AOKTS, Tribute 1 Kill to GAIA along with the Condition of Kills(assuming you have only 1 Unit whcih is Killing) and then use this as Condition in the Next Trigger to Check if the Players has Tribute 5 Kills to GAIA then Increase the HP/AP of that Specific Unit.

Download Link: [You must login to view link]
Đường dẫn | Trả lời | Trích dẫn
 Barsta


Joined:  31 Tháng 7 2011
Posts: 2719
đã Post11 Tháng 5 2014 - 5:55 pm
Why not just have 'Condition: 5 Kills' and Effect: Change Object Attack: 1' on a loop.
Đường dẫn | Trả lời | Trích dẫn
 JustTesting1234


Joined:  30 Tháng 4 2012
Posts: 304
đã Post11 Tháng 5 2014 - 6:18 pm
because when it hits 5 kills it will always give +1 ap every second
Đường dẫn | Trả lời | Trích dẫn
 Coat_of_Arms


Joined:  29 Tháng 11 2012
Posts: 6806
đã Post11 Tháng 5 2014 - 6:25 pm
because when it hits 5 kills it will always give +1 ap every second
But like this:
Trigger 1(on)
Condition 1: get 5 kills
Effect 1: Enable Trigger 2
Effect 2: Disable Trigger 1

Trigger 2(off)
Effect 1: Add +1 AP to unit
Effect 2: Enable trigger 1
Effect 2: Disable trigger 2


Or it's too recursive and crashy?
Đường dẫn | Trả lời | Trích dẫn
 RichardCory


Joined:  25 Tháng 4 2013
Posts: 26
đã Post12 Tháng 5 2014 - 6:32 am
Thanks for answers.
Quote:
This is not Possible with the In-game Scenario Editor, you will need AOKTS to make this work.

I knew a way to make it work with In-game editor(I tried it as well) but I don't remember it now because I have not used it for a long time. I am just looking for that method if anyone remember it. I just remember that it was some kind of trick like on every kill, one unit was created and killed at same time on a specific location of map but this method somehow balanced the loop and increased AP on assigned kills only with loop.
Quote:
But like this:
Trigger 1(on)
Condition 1: get 5 kills
Effect 1: Enable Trigger 2
Effect 2: Disable Trigger 1

Trigger 2(off)
Effect 1: Add +1 AP to unit
Effect 2: Enable trigger 1
Effect 2: Disable trigger 2


Or it's too recursive and crashy?

I also tried this method and it should work but for some unknown reasons, it is not working as it should and after assigned kills, loop starts increasing AP.
Đường dẫn | Trả lời | Trích dẫn
 RichardCory


Joined:  25 Tháng 4 2013
Posts: 26
đã Post26 Tháng 5 2014 - 3:20 pm
Hey guys! I finally got how it works:

Trigger 1:
Starting scale: On
Trigger Loop: On

Condition 1: Accumulate Attribute
Attributes List: Kill Ratio
Source Player: Player 1
Quantity: 1

Effect 1: Create Object
Object List type: Unit
Object List: Any unit(e.g Archer)
Source Player: Player 1
Set Area anywhere.

Effect 2: Kill Object
Object List type: Units
Object List: <None>
Source Player: Player 1
Set area same as of Effect 1.

Effect 3: Change Object Attack/HP
Just Select the unit with Source player set to Player 1 and a suitable quantity like 5.

I tried this out and it is working :)
Đường dẫn | Trả lời | Trích dẫn
 [sds]Gallas


Joined:  25 Tháng 5 2011
Posts: 2751
đã Post27 Tháng 5 2014 - 9:06 am
Hi guys.
I would like to know how to make a unit's attack/hp increase with a kill or razings. Like 1 attack increase on every 5th kill or razing. Answers will be appreciated. Thanks in advance.


Here other way:

Trigger: starting YES looping YES
Condition 1: Accumulate Attribute (player1): 5 kill/razes (as you want)
Effect 1: Send Tribute (player 1 to gaia): 5 kill (you need [You must login to view link] for this function)
Effect 2: Change object hp/attack (whatever you want)

Pros:
- 1 trigger / 1 player
- repeatable with other stuffs
- easy to make/edit

Cons:
- You cannot get more than 5 kills/razes
- For extra bonuses you need more complicated mechanisms
Đường dẫn | Trả lời | Trích dẫn
 RichardCory


Joined:  25 Tháng 4 2013
Posts: 26
đã Post31 Tháng 5 2014 - 4:59 pm
Here other way:

Trigger: starting YES looping YES
Condition 1: Accumulate Attribute (player1): 5 kill/razes (as you want)
Effect 1: Send Tribute (player 1 to gaia): 5 kill (you need [You must login to view link] for this function)
Effect 2: Change object hp/attack (whatever you want)

Pros:
- 1 trigger / 1 player
- repeatable with other stuffs
- easy to make/edit

Cons:
- You cannot get more than 5 kills/razes
- For extra bonuses you need more complicated mechanisms

Thanks mate :)
I was looking for a method to do it without using external tools. Thank you for your answer.
I may give it a try ;drool


Đường dẫn | Trả lời | Trích dẫn
[1]
Hiển thị 1 - 9 ngoài 9 Bài viết
Nhảy Forum
1 User(s) làđọc chủ đề này 30 phút vừa qua
0Thành viên1 Khách

Dân số hiện tại:
TDII (36 Người chơi)
TIW 2020 Map votes (28 Người chơi)
AoKTS updates (24 Người chơi)
Photos of Voobly Players (17 Người chơi)
4v4 Smosh Tournament? (11 Người chơi)
Chủ đề tích cực nhất tuần qua: