WarToast
Active Member
- Reaction score
- 3
UPDATE: First problem solved! Thank you unstable +rep. All problems solved.
Hello
First off all I'd like to say that I'm new. To the world editor (I know the basics) and this site. I enjoy using the WE and learning new things by my own, but this problem has bugged me for some time.
My problem is that I want a main building to be able to spawn new units when I research an upgrade for it (note: I am not upgrading/teching the building, it's upgrades like Iron Forged Swords)
Right now I have a tower spawning two "bashers" every 10 seconds. I'd like to have an upgrade named "Necromancy thingy" (probably not that name). So when the upgrade is complete, my tower also spawns necromancer and still my bashers.
So I'm going to have maybe 5 or 6 of these upgrades, maybe more ranks of the same upgrades etc.
I just don't know how to do it. I tried fooling around with the condition "Tech-type comparison" as in "Researched tech-type EQUAL TO Necromancer". That made sense in my head, but it didn't work out.
Woah, I wrote a lot of stuff Anyways, I hope someone out there can help me!
later
That's how I spawn bashers. Pretty basic
Hello
First off all I'd like to say that I'm new. To the world editor (I know the basics) and this site. I enjoy using the WE and learning new things by my own, but this problem has bugged me for some time.
My problem is that I want a main building to be able to spawn new units when I research an upgrade for it (note: I am not upgrading/teching the building, it's upgrades like Iron Forged Swords)
Right now I have a tower spawning two "bashers" every 10 seconds. I'd like to have an upgrade named "Necromancy thingy" (probably not that name). So when the upgrade is complete, my tower also spawns necromancer and still my bashers.
So I'm going to have maybe 5 or 6 of these upgrades, maybe more ranks of the same upgrades etc.
I just don't know how to do it. I tried fooling around with the condition "Tech-type comparison" as in "Researched tech-type EQUAL TO Necromancer". That made sense in my head, but it didn't work out.
Woah, I wrote a lot of stuff Anyways, I hope someone out there can help me!
later
Code:
Events
Time - Every 10.00 seconds of game time
Conditions
(Mystic Lighthouse 0001 <gen> is alive) Equal to True
Actions
Unit - Create 1 Basher for Player 9 (Gray) at (Center of Spawn1 P1 <gen>) facing Default building facing degrees
That's how I spawn bashers. Pretty basic