You must be logged in to post messages.
Please login or register

Scenario Design and Discussion
Moderated by Sebastien, Mr Wednesday

Hop to:    
Welcome! You are not logged in. Please Login or Register.5 replies
Age of Kings Heaven » Forums » Scenario Design and Discussion » I got a question for trigger experts
Bottom
Topic Subject:I got a question for trigger experts
Lost_Alcoholic
Squire
posted 10-26-03 02:12 PM CT (US)         
How do you make your main RPG character get statpoints for killing enemy units without using the destroy object condition, I got objects I want my guy to destroy that are created with triggers, so i cant use the destroy object trigger... I'll rephrase my question if that didnít make any sense

I never drink anything stronger than gin before breakfast.
AuthorReplies:
rayoflightsword
Squire
posted 10-26-03 02:18 PM CT (US)     1 / 5       
Use the accumulate attribute condition.

(¯`·._.~RayofLightSword~._.·´¯)
(¯`·._.~Official Unnofficial Forum Uber-1337 King of +1~._.·´¯)
"The Goddess Fortune is the devil's servant, ready to kiss anyone's ass".-William Blake
Lost_Alcoholic
Squire
posted 10-26-03 02:35 PM CT (US)     2 / 5       
Is there anyway to do this without making a trigger for each victom?

I never drink anything stronger than gin before breakfast.

[This message has been edited by Lost_Alcoholic (edited 10-26-2003 @ 02:36 PM).]

Berserker Jerker
Squire
posted 10-26-03 02:37 PM CT (US)     3 / 5       
If you are destroying enemy units and only have one unit for player one, then you could use the Kill ratio condition for this.

Trigger 1 looping
Condition Accumulate attribute - Kill ratio = 1
Effect create object = A unit for player 1
Effect remove object = the above unit
Effect (What ever you want for killing an enemy unit)

Every time an enemy unit is killed this trigger will fire and create a unit then remove it for player 1 to reset the kill ratio to 0. If player one has more than one unit then this system doesn't work so well, due to the fact you will need to kill an extra 1 unit for every unit player 1 loses. So you could use the Own fewer objects condition.

Trigger 1 looping
Condition Own fewer objects =?? (The total amount on the map for this player)
Effect create object a unit for this player.
Effect (What ever you want for killing an enemy unit)

Again, every time an enemy unit is killed this trigger will fire. But you need to create another unit for the enemy somewhere on the map to enable the trigger to fire again. This system does work so well if you have varying numbers of enemy units.

[This message has been edited by Berserker Jerker (edited 10-26-2003 @ 02:53 PM).]

Lost_Alcoholic
Squire
posted 10-26-03 02:45 PM CT (US)     4 / 5       
wow its an honor to receive an answer from you, i played your campaign sabato, it was awsome, great work man truly the best single player campaign i've played yet. the music gives it this nice mood that makes you wanna quest or something i dunno but its crazy thanks for the help i'll try to figure out what you just said in a minute.

I never drink anything stronger than gin before breakfast.
rayoflightsword
Squire
posted 10-26-03 03:04 PM CT (US)     5 / 5       
Yes, SABATO ROCKS!!!!!!!!!!!!

(¯`·._.~RayofLightSword~._.·´¯)
(¯`·._.~Official Unnofficial Forum Uber-1337 King of +1~._.·´¯)
"The Goddess Fortune is the devil's servant, ready to kiss anyone's ass".-William Blake
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Kings Heaven | HeavenGames