Help please. Buildings won't build :-/

Liquidor

New Member
Reaction score
0
Hi guys,

First I'd like to say that I love this community.
My problem is that buildings won't build when I start constructing them.
They just freeze at the first hp and never finish.

My map has the time of the day frozen, is this the reason?
I've changed the models' hp/model file/costs/collision, is this the reason?

Or am I missing something?
I use the standard GUI and it's a defense/attack type map.


Help please.

NB: Could someone link me to an article about how to make buildings shoot off projectiles or tell me how? Already tried searching for it.
 

Liquidor

New Member
Reaction score
0
Give the builder the ability Repair[Human].

Thank you.
I disabled it by a mistake.

Is there a way to make the building construct instantly?
I don't want the player to be able to have unfinished buildings because my unit count doesn't check if it's finished or not.
 

Carnerox

The one and only.
Reaction score
84
Thank you.
I disabled it by a mistake.

Is there a way to make the building construct instantly?
I don't want the player to be able to have unfinished buildings because my unit count doesn't check if it's finished or not.

List the builder under undead, then set the build time of the building to 1.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Still won't make it instant...

For this to work correctly, you need to trigger it, like this:
Trigger:
  • Construct Instantly
    • Events
      • Unit - A unit Begins construction
    • Conditions
    • Actions
      • Unit - Pause (Triggering unit)
      • Unit - Order (Triggering unit) to Stop
      • Unit - Unpause (Triggering unit)
      • Set TempPoint = (Position of (Constructing structure))
      • Unit - Remove (Constructing structure) from the game
      • Unit - Create 1 (Unit-type of (Constructing structure)) for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_TempPoint)
 

Liquidor

New Member
Reaction score
0
I will do that, but I think it would be better if I could count only constructed units instead of just all structures to avoid giving the players an exploit.

Trigger:
  • Actions
    • For each (Integer A) from 0 to 1, do (Actions)
      • Loop - Actions
        • Unit - Create (Number of living +1 Footman (B) units owned by SpawningPlayers[(Integer A)]) Footman for SpawningBots[(Integer A)] at (Random point in SpawningRegions[(Integer A)]) facing 0.00 degrees


+1 Footman (B) is the building I need to count, but I only want to count constructed structures and not unfinished ones.

Is that possible?

Edit: This was a reply to Undead.Cow
 
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