Exfyre
hmm...
- Reaction score
- 60
I was making a TD, and I wanted everything to be able to be built instantly. The best the editor would let you do is one second, so here is what i came up with.
To make it work correctly, you must use a builder with Repair(human). Orc builders get stuck because they go inside the unit to build it and when the unit is removed, they stay that way. Summoners have that slow reaction time to shift-clicks, so it's not really instant (but can be bypassed by not using shift-clicks).
So, go with a human builder!
EDIT:
Rather than post a screenshot, i decided to upload the TD i was working on. (any bug-finds are welcome).
Code:
Instant Build
Events
Unit - A unit Begins construction
Conditions
Actions
Unit - Remove (Triggering unit) from the game
Set tempLoc = (Position of (Triggering unit))
Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at tempLoc facing Default building facing (270.0) degrees
Custom script: call RemoveLocation(udg_tempLoc)
To make it work correctly, you must use a builder with Repair(human). Orc builders get stuck because they go inside the unit to build it and when the unit is removed, they stay that way. Summoners have that slow reaction time to shift-clicks, so it's not really instant (but can be bypassed by not using shift-clicks).
So, go with a human builder!
EDIT:
Rather than post a screenshot, i decided to upload the TD i was working on. (any bug-finds are welcome).