Demo Map Instant Build

Jayykob

New Member
Reaction score
1
Here's a trigger which let's you build a building instant:
Trigger:
  • Instant Build
    • Events
      • Unit - A unit Begins construction
    • Conditions
    • Actions
      • Set Constructingbuilding = (Unit-type of (Constructing structure))
      • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Constructing structure)) facing Default building facing degrees
      • Set point = (Position of (Last created unit))
      • Unit - Kill (Constructing structure)
      • Unit - Create 1 Constructingbuilding for (Owner of (Triggering unit)) at point facing Default building facing degrees


Building must be 2x2 or smaller, :/

builder's and dummy's (ofc) must have 0 in collision size.
Remove Death Animtion for building: Object Editor > Art - Special = none
Need help for removing the dummy after. :)
Hope this helps :thup: (even if it's simple to make) :p
 

Attachments

  • instant build.w3x
    11.8 KB · Views: 188

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
You leak a location within the dummy creation as well as the variable "point" which is never removed.
 

UndeadDragon

Super Moderator
Reaction score
447
What is the point in the dummy? o_O
 

Angel_Island

Much long, many time, wow
Reaction score
56
If you mean the leak, it is (Position of (Constructing structure)). If you mean what it is for, I have already asked that.
 

Weegee

Go Weegee!
Reaction score
102
Please dont be mad at me but i fixed it up :/

What I fixed: Can now make any Structure size
Changed killing the unit to removing the unit (Removing that ugly explosion)
No leaks and No dummy

The only two problems: No finished construction sound (Can be fixed)
Unit faces at a wird angle (Can be fixed)
 

Attachments

  • instantbuild.w3x
    11.9 KB · Views: 193

Jayykob

New Member
Reaction score
1
I don't know why I did the dummy :(, I were not thinking over it completely :p
Thx Weege btw ^^
 

Weegee

Go Weegee!
Reaction score
102
No he doesnt become invurnable :p

Added selection to the unit
 

Attachments

  • instantbuild.w3x
    11.9 KB · Views: 196

Dest

New Member
Reaction score
26
can't you just set the build time of the structure to 0?

Then it'll never build. I've done that before and it just never build.

Anyway, I think this is helpful, but anyone can do that. :confused: And why do we need collision size to be set to 0?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top