The way this system is set up is simple. The player has a building that produces units, then the buildings for the requirements. The cost for all units is zero. The build time is minimal. So, say you're using a gateway. if the player creates a zealot, the zealot is removed, and one is added to zealot deaths. It is important you use seperate death counts for each command so that the player can run two commands right after each other without interfering. Now, if the conditions are not right for that action to be run, there will be a trigger reseting the death count. An additional condition in the triggers except the "remove zealot add one death count" triggers can allow different conditions for the actions for different areas, (roaming, battle, boss battle, etc.). Now there's a pretty interesting way to do a talk command with this system. Ever had an RPG where you bump into units and have annoying text show up? Maybe it flashed by before you could read it. Well, my system for talking is simple. Now, for individual unit speech, having multiple players controling NPCs of the same unit will do. You can also randomize text. I prefer using burrowed units under the NPC, belonging to multiple players, and all the units in towns belong to player twelve. Now, the conditions. If the talking players bring no units to the location around the hero, and the player's zealot death count is 1, then player's zealot death count is reset. But if say talking player 1 brings one civilian to the location and the player's death count is 1, then show the first part of the message. Now, the ingenuity. This message will continue to display until the player either leaves the location, or creates another zealot. Then the death count will be two, and it can show another message. You can extend this as long as you want. Now say you want five messages. Then once the death count is six, if you're using a burrowed unit, simply kill the burrowed unit OR give the NPC to a non talking player. Additionally, you can have the player gain the unit, the unit can be killed, well, I'll leave it up to you. Sorry if this is confusing.
Name one map. Name the map. I didn't say I was the first to use a gateway. But I have yet to see anyone use a talk system like that, even though it's remarkably simple. I don't really care if it's the first or not, but if it isn't, show me a map with it.
I'm in california right now but when i get back, I'll give you a map i started 1 year ago that has this system exactly how you explained it gateway and all. It was gonna be sorta like a GTA map but it was never finished.
Then if you checked my NitE thread, I even gave qPirateking credits because I used this system too in that map and my current map too.
Good job on expanding the idea though, I'm not sure if qP did the randomising of text. It 's with NPCs saying different stuff eveytime you talk to them. Although out there in the world somewhere, it might have been done before .