| 10-28-2003, 01:58 AM | #1 |
Hey guys, i need some help for my map... I want the player to be able to build a building that has a unique feature.... An aura. Not one but 3. But only 1 aura can be activated at the building at one time (the player choses which aura he wants enabled at that certain time... Can it be done? If so, how?:ggani: |
| 10-28-2003, 02:06 AM | #2 |
Using a combination of triggers, it can be done. Make 4 abilities, then your three auras. Make the abilities out of stuff like scroll of healing. Change the abilities to have no values, basically, to do nothing. Here's the trigger for the first three EVENTS Unit - A unit casts a spell CONDITIONS Ability being cast equal to (Ability1) ACTIONS Add Ability (Aura1) to (Casting Unit) Add Abiltiy (Ability4) to (Casting Unit) Remove Ability (Ability1) from (Casting Unit) Remove Ability (Ability2) from (Casting Unit) Remove Ability (Ability3) from (Casting Unit) Do the same for the next three, changing 1 to 3. Make the 4th look like a cancel button. EVENTS Unit - A unit casts a spell CONDITIONS Ability being cast equal to (Ability4) ACTIONS Add Abiltiy (Ability1) to (Casting Unit) Add Abiltiy (Ability2) to (Casting Unit) Add Abiltiy (Ability3) to (Casting Unit) There you go, finished, and it should look proffesionally done if you choose the right Icons too. Now i'm gonna go watch Chapter 2 of Creatures of the Night |
| 10-28-2003, 02:11 AM | #3 |
The easiest way (in my opinion) to do what your asking is to make a building that has none of the auras, then make 1 for each of the other auras. Make the first building so it can "Upgrade" to each of the others, set the upgrade time to 1 and the upgrade cost to 0, then make each of the "upgraded" ones upgrade to eachother, so essencially its an upgrade loop, that take no resources and no time to switch between the different auras... at least I am pretty sure that works... |
| 10-28-2003, 02:23 AM | #4 |
You're right, That WOULD be easier... Why didn't I think of that? I always have to complcate things :( |
| 10-28-2003, 02:24 AM | #5 |
thanks both. but im going to use allpainfuls approach, way easier:ggani: |
