| 07-07-2005, 04:04 PM | #1 |
Ok, I'm working on a WW3 map, and I'm putting in 8 new buildings. Human Bank-Adds gold every few seconds. Waygate- Instant Teleport Night Elf Regrowth Center- Spawns trees around the building Forces of Nature- Treant Spawn/Lightning strike anywhere on map Orc War Academy- Picks a Random unit every minute and upgrades their battle experience(system of mine) Meteor Launcher- A really big catapult Undead Awakenery- Turns all corpses into Zombies nearby the building Disease Control- Chance of global infestation Issues What would be a good way to determine how many of these buildings there are to run the bonuses well? Like for the bank. Is there anyway to set up waygate connections in game? How do I determine regions for buildings that are not even built yet? Ideas? |
| 07-07-2005, 07:02 PM | #2 | |
Quote:
youe gonna have to have 2 buildings. now im not sure if you want them to construct both or what. but heres what i came up with, not sure if it works. Code:
Waygate1
Events
Unit - A unit Finishes construction
Conditions
(Unit-type of (Triggering unit)) Equal to Waygate (1)
Actions
Region - Center Waygate1 on (Position of (Triggering unit))Code:
Waygate2
Events
Unit - A unit Finishes construction
Conditions
(Unit-type of (Triggering unit)) Equal to Waygate (2)
Actions
Region - Center Waygate2 on (Position of (Triggering unit))
Trigger - Turn on (Move Units1)
Trigger - Turn on (Move Units2)Code:
Move Units1
Events
Unit - A unit enters (Waygate1)
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of (Waygate2))EDIT: whoops didnt put the trigger Move Units2, well its like the same asMove Units1 just the locations are switched. |
| 07-11-2005, 04:50 PM | #3 |
Changed the Title to Buildable cause thats more fitting. About the position Region thing, are you saying there would have to be already regions in the map, or it would create? and how would I be able to do that for 2 or more human players? Any more ideas and such? |
| 07-11-2005, 08:12 PM | #4 |
Guest | Nice idea but it wont work, firstly if you center a region it will center the region on the exact co-ordinate I.E X1=99945243.8348 X2=8782374.2984 Y1=928.32793 Y2=87287324.29889 , this what will happen if you center it, so the odds of a unit going over the exact co-ordinate are massivly slim and if i was wrong about the first thing, when you create waygate1 and you havent made waygate2 and a unit goes over waygate 1 he will be teleported to the center of the map (not good -.-) soo i would just use the waygate ability lol its so easy to do, on your waygate building or whatever add a ability called "Waygate Ability" and change the colour of 1 to the colour of the 1 that u want it to be changed to the the same colour, this wont work after 12 are constructed cause theres only 12 people on map sooo I wouldent recommend useing waygates for construction Soz man |
| 07-11-2005, 08:32 PM | #5 |
thats a good idea, but are you saying when you center a region the size of the region shrinks? cause thats what it sounds like youre saying. |
