Building Construction

Status
Not open for further replies.

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
Have my stuff working, problem is, I cant seem to figure out what the unit creating the tower is... Is it like triggering unit? Im not sure, anyone know which unit the builder is in this event?
 

Farplane

New Member
Reaction score
8
Weird... I tested like, 10 different unit properties and not one of them worked... I suppose if you made the "Build" command an ability you could use
Code:
 Bob the Builder
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Build (or whatever)
    Actions
        Unit - Kill (Triggering unit)
 
S

Siridon

Guest
Erm, how about:

Event-Unit Finished Construction
Action-Pick Every Unit in ((Region Around ((Unit-PositionofConstructedUnit)) matching condition ((Matching Unit Equal to: *OneofthePossibleBuilders* OR *Anotherpossiblebuilder* OR *Anotherpossiblebuilder*))

Not sure if that's possible, or will even work, but if nothing else works, you can try that...I suppose. Sorry I can't help any further.
 

Knocksious

Sweet, I got 2 little green bars!
Reaction score
46
pretty sure it's triggering unit

what do you want to do with the triggering unit though? Because if you wan to kill it, just classify the tower as an "ancient" You might have to do something to the builder, but I think you get what I am getting at

@ Siridon that's a lot of work for a lot of builders
 

Sooda

Diversity enchants
Reaction score
318
Triggering unit points to building I tested it myself. Now to get unit who started building/ repair use trigger:
Code:
Unit Starts Construction or Repair
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Repair (Human)
    Actions
        Game - Display to (All players) the text: (Name of (Triggering unit))
This works right now for Human builders only. You could add all building abilites to condition and use or "casting ability equals to ability). Undead builders start to summon buildngs so maybe you can detect them with "starts summoning unit" event.
Another for when building is finished/ fully repaierd:
Code:
Unit Starts Construction or Repair
    Events
        Unit - A unit Finishes casting an ability
    Conditions
        (Ability being cast) Equal to Repair (Human)
        (Life of (Target unit of ability being cast)) Equal to (Max life of (Target unit of ability being cast))
    Actions
        Game - Display to (All players) the text: Unit finished const...
 
B

Bwinks

Guest
Life Comparison (of non-hero)?

Sodda:
Another for when building is finished/ fully repaierd:

Code:
Unit Starts Construction or Repair
    Events
        Unit - A unit Finishes casting an ability
    Conditions
        (Ability being cast) Equal to Repair (Human)
        (Life of (Target unit of ability being cast)) Equal to (Max life of (Target unit of ability being cast))
    Actions
        Game - Display to (All players) the text: Unit finished const...
[/QUOTE]


okay so where is this "Life of (Targeting unit)" condition at?
 

LoveTD's

New Member
Reaction score
34
Sand, wood, thatch, clay, and stones are the raw materials and metal, glass and cement, tiles, and paint are the man-made products, you just need all these for your building construction!

Contractors

erm... wtf?
does this have anything to do with the world editor at all :)?
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
Just report
report-40b.png
spam, no need to reply to it. :thup:
 
Status
Not open for further replies.
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