heres a basic idea!
Current Player creates One (Building)
Remove (building) add (gas)
Create 1 (Unit) at (Location1)
---
Current player brings exactly 1 (unit) to (location1)
timer is (time)
Create (units) at (location2)
restart timer
---
commands at most 4 (unit) to (location1)
automatically destroy (building) add gas to (gas)
Its for a Lord of the rings strategy game im making just need some help with spawning units.
None.
...what the
what exactly do you want us to help you with?
None.
I think he wants a building to be removed and replaced with a unit when a player constructs it. Then create a unit at another location (for some reason) and remove that new unit to create yet another unit at a different location.
I'm confused by these though. They seem redundant. Like why destroy a building and add gas when it is built, and then have another destroy trigger when you have 4 units (even though there is no building to destroy anymore)?
I think some more info would help us a lot.
Currently Working On: My Overwatch addiction.
K heres the basic idea again...
for Triggers named (TEAM1.SPAWNa)
Current Player brings at least 1-4 unit to location (CASTLE COUNTER)
Current Player brings exactly 1 (MINAS ANOR) to anywhere
Timer is exavtly 120 seconds
Create 3 Shortbow Archers at (1 Gondor Spawn a)
Create 2 Shortbow Archers at (1 Gondor Spawn a)
add 1000 Minerals
Restart timer
I know its in starcraft 1 but thats all i remeber how to dispaly the triggers, i need it converted to starcraft2 triggers
basically i want a bunch of units created if the unit owns 1-4 caslte counters and commands 1 building (Minas anor)
its for a LOTR Strategy map
None.
An artist's depiction of an Extended Unit Death
Event - Timer myTimer expires
Action - For each integer playerNum from 1 to 8
Action - If/Then/Else
If - Condition - Unit count at CASTLE COUNTER owned by player playerNum >= 1
If - Condition - Unit count at MINAS ANOR owned by player playerNum == 1
Then - Action - Create Unit at Region
Action - Create new Timer with time 120 game seconds
Action - Set Variable myTimer = last created Timer
Some variation of that should get you what you want.
could i get that in a screenshot?
Post has been edited 1 time(s), last time on Sep 30 2010, 8:26 pm by qurqle.
None.
i get an error when i save the map
None.
I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
i get an error when i save the map
We might be able to help you, if you would provide more information about the error you are experiencing.
Is it a script error in trigger editor (-> so your triggers can't be compiled -> map can't be saved)?
And I'm still not 100% sure what you are trying to achieve.
My comprehension what I understood so far:
-1 unique building where troops are spawned every ... seconds depending on the amount of "castles" that are under control by the player (seems that he can build castles) and the player gains resources for that castles, too.
But I don't get the gas aspect (construct building, destroy building, add gas)...
You should forget about the Starcraft mechanics and try to write down what you want to achieve. Don't make SC1 triggers to your base, if you think about SC2 triggers. SC1 triggering is based on many workarounds, you apply because you've learned them. SC2 triggering is more straight forward.
Basically its a script error alot of the triggers i just put custom script and its errored so i need to redu the triggers properly.
OK heres more informations
If Player commands 1 BUILDING
If Player Commands 1 COUNTER
Timer IS Exactly 120 game seconds
Create UNITS at LOCATION
Add 1000 Minerals
preserve trigger
-----------------
For timer -- i fiqured they need to be different triggers not combined due to sum glitchs that will be caused when playing more than 2 players
timer is elapsed 120 games seconds
restart timer
None.