• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Making a building build in like 0.01 secs?

Status
Not open for further replies.
Level 5
Joined
Jun 18, 2008
Messages
146
Hey, siDeKicK here,

As you know, i am making a TD and i want to make the towers take like 0.01 SECS to build/upgrade, does ANY one know how to change and make it 0.01 secs?

I made the build time 1 sec, but it is still to slow =\!

Thanx,

siDeKicK
 
  • Events
    • Unit - a Unit starts the constuction of a Unit
  • Conditions
  • Actions
    • Unit - order constructing Unit to stop
    • Unit - replace constructed Unit with a Unit of type constructed unit
don't know if the stop action is necessary, was just a thought
 
Yay, thanx dude, it works, but when i start to construct the unit, it builds like one block away from where i want it to build... why :(!!

Heres my trigger:

  • QUik Build
    • Events
      • Unit - A unit Begins construction
    • Conditions
    • Actions
      • Unit - Replace (Constructing structure) with a (Unit-type of (Constructing structure)) using The old unit's life and mana
 
The quickest way possiable would be to trigger it on the begins construction event and then use a timer to delay action for one cycle (the smallest unit of time possiable in WC3). Then you instantly set its construction process to max and it would be built.

However 1 second should be fast enough in any situation.
 
or you just set the Build time in the Object editor to 0? Shift-Click is your friend

SIgh.. The minimum build time is [1]!! You cant put it 0 secs!
The quickest way possiable would be to trigger it on the begins construction event and then use a timer to delay action for one cycle (the smallest unit of time possiable in WC3). Then you instantly set its construction process to max and it would be built.

However 1 second should be fast enough in any situation.

Can you show me a trigger of what you are talking about :D?!

Thanx,

siDeKicK
 
lol thanx guys... but i FINALLY worked it out in trigger editor...

Trigger:

  • QUik Build
    • Events
      • Unit - A unit Begins construction
    • Conditions
    • Actions
      • Unit - Order (Triggering unit) to Stop
      • Wait 0.01 seconds
      • Unit - Replace (Constructing structure) with a (Unit-type of (Constructing structure)) using The old unit's life and mana
siDeKicK
 
Wait 0.01 seconds will delay for 0.3+ seconds in multiplayer as if you read its description it opperates to only 0.1 inaccuratly in single player. The acuracy is lowered further in multiplayer (longer delay). Thus the only way to really build in 0.01 seconds would be to use a timer (a special object) to delay your actions. Those remain 100% accurate in both single and multiplayer (same delay for both) and support a lower delay that the wait you are using (Wait (TriggerSleepAction()) only supports down to 0.1 seconds while timers cas easilly support 0.01 or lower times (including 0 which gives nearly no delay).
 
Status
Not open for further replies.
Back
Top