2 Questions. Make pause on orc builders between building? and Shift+Build?

Exuro.

New Member
Yet again another build question

So im close to fixing my big anoying problem.. its been made smaller atleast hehe


So i have a snippet which detects something when a unit is done with a construction (wont go into details here as it doesnt matter). but when a player is shift + placing buildings. the peasants goes to fast into the next building in line (so fast that my snippet cant catch it and detect its position).
I tried with a little 1 second wait, but due to lagg and desync and small things like that, will make the build time vary with +-0.1 sec or so..

So i came up with this genious idea lol, to make the unit pause for 0.5 seconds or something after finished construction. but how do i do that?

I tried this:
Code:
Untitled Trigger 001
    Events
        Unit - A unit Finishes construction
    Conditions
    Actions
        Unit - Pause (Triggering unit)
        Wait 0.50 seconds
        Unit - Unpause (Triggering unit)
But dont think its fast enough before he goes into the new building.




If this cant be done then:


How do i disable Shift building heh..?


+rep
 

WolfieeifloW

WEHZ Helper
Code:
Untitled Trigger 001
    Events
        Unit - A unit Begins construction
    Conditions
    Actions
        Wait until ((Life of (Constructing structure)) Equal to (Max life of (Constructing structure))), checking every 0.10 seconds
        Unit - Pause (Triggering unit)
        Wait 0.50 seconds
        Unit - Unpause (Triggering unit)
That maybe?
 

WolfieeifloW

WEHZ Helper
Set the Wait to a longer time just for debug purposes to see if it even pauses the unit.

EDIT: Made a test map, it doesn't even pause the worker.
 

Exuro.

New Member
it didnt.. thats why i said above that i dont even think it register..

thou with your suggestion it just messed up and didnt even wanna build hehe
 

WolfieeifloW

WEHZ Helper
Mine built a tower, but didn't pause.

EDIT: Interesting, look at this:
Code:
Untitled Trigger 001
    Events
        Unit - A unit Begins construction
    Conditions
    Actions
        Wait until ((Life of (Constructing structure)) Equal to (Max life of (Constructing structure))), checking every 0.10 seconds
        Game - Display to (All players) the text: Done
        Unit - Pause (Triggering unit)
        Wait 3.00 seconds
        Unit - Unpause (Triggering unit)
It says 'Done' when you start constructing, not when you're done constructing.
 

WolfieeifloW

WEHZ Helper
Gahh, I can't seem to find how to do it :banghead: .

By the way, your original trigger doesn't even pause the worker...
I think it's "Triggering Unit" that's messing it up.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    oh shit Hatebreeder is on the site
  • Ghan Ghan:
    Site Log, 1/7/22: TH changed his avatar today. Speculation among the crew is that this heralds the end times are upon us. Only time will tell.
    +1
  • jonas jonas:
    TH changed profile pictures before no hasty conclusions
  • jonas jonas:
    didn't he used to have just TH in blue letters or something like that?
  • The Helper The Helper:
    I have had a number of different profile pics in the past - I just changed it to the NUON award pic because there is stuff going on with NUON right now hint hint
  • The Helper The Helper:
    plus I just added an Atari Jaguar forum lol maybe Ghan is right about the end times lol
  • The Helper The Helper:
    If I can get this NUON stuff going that is going to be good
  • The Helper The Helper:
    on a side note and totally out of nowhere I am buying a bass guitar and am going to try and learn it
    +1
  • The Helper The Helper:
    I am about to go to a friends house and dig his Atari Jaguar collection out of the attic and get it ready to sell
  • The Helper The Helper:
    and my friend is such a slacker he could only put his hands on the base jag and cd unit no wires, power supply or games they are still buried somewhere in the attic for another time.
  • The Helper The Helper:
    250 Members online and most of them looking at American Airlines below economy class post that I bumped the other day LOL
  • The Helper The Helper:
    actually 249 guest not members
  • Varine Varine:
    Is there even 250 members that have logged in in the last couple years? I feel like there's maybe 30 of us
  • The Helper The Helper:
    I am not tracking that stat but I would have to say probably not
  • tom_mai78101 tom_mai78101:
    Would like to get some annual forum statistics report.
  • The Helper The Helper:
    there are stats in the xenforo forum admin section and we have matomo stats we started collecting beginning of the year so we will not have annual on that until next year
  • The Helper The Helper:
    I thought you had keys to the bathroom Tom? Ghan does Tom have access to the stats thread in the bathroom
  • The Helper The Helper:
    since I started jacking with the bots on the site we doubled our page views on the site in a week lol
  • The Helper The Helper:
    I have been having lots of fun
  • The Helper The Helper:
    we have had like 6000 views of the American Airlines economy class thread in the last week
  • The Helper The Helper:
    I ought to stick a travel affiliate link or something on that page to try and monetize that they are just going there and leaving it might even be bots I am not sure
  • The Helper The Helper:
    I just got into it with the Atari VCS Facebook Moderator I started trolling him and almost got banned
  • The Helper The Helper:
    They deleted one of my posts one time so I was trolling him on a help post I put up because I am evil I guess and bored and the guy handled it well I loved his attitude Atari has a good social media presence even if they do not have many games.
  • The Helper The Helper:
    The French Atari they call them even though they are like totally based in America they just have French Money coming in. Gotta love it

    Staff online

    Members online

    Affiliates

    Hive Workshop NUON Dome
    Top