1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Rubbed the right way, the genie is out of its lamp! The 12th Concept Art Contest Results have been announced.
    Dismiss Notice
  4. The Lich King has a new champion. The results for the 19th Icon Contest are here!
    Dismiss Notice
  5. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Partial Build/Upgrade Trigger Seeking

Discussion in 'World Editor Help Zone' started by C.B.King, Mar 27, 2020 at 12:33 AM.

  1. C.B.King

    C.B.King

    Joined:
    Nov 6, 2019
    Messages:
    82
    Resources:
    0
    Resources:
    0
    basically, when u start building a building in a Specific Region, want it to auto set the construction to 50%

    also want it so when u upgrade a building for example tower, but everything, it auto sets the upgrade state to 50%

    all if there built, or upgrading withing a specific region

    Same With Researching.

    i got the Upgrading one working, but dunno how to do cosntruction and research one.

    • FLUpgrade
      • Events
        • Unit - A unit Begins an upgrade
        • Unit - A unit Begins research
        • Unit - A unit Begins construction
      • Conditions
      • Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (LavaWorld <gen> contains (Triggering unit)) Equal to True
          • Then - Actions
            • Unit - Set (Triggering unit) upgrade progress to 50%
          • Else - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (LavaWorld <gen> contains (Constructing structure)) Equal to True
          • Then - Actions
            • Unit - Set (Constructing structure) construction progress to 50%
          • Else - Actions
     
    Last edited: Mar 27, 2020 at 1:14 AM
  2. Warseeker

    Warseeker

    Joined:
    Feb 18, 2014
    Messages:
    2,780
    Resources:
    1
    Maps:
    1
    Resources:
    1
    For the construction add a 0:00 wait before if then else. As for the research I'm not sure that's possible.
     
  3. C.B.King

    C.B.King

    Joined:
    Nov 6, 2019
    Messages:
    82
    Resources:
    0
    Resources:
    0
    Ah ty didnt think of that as i want the upgrade boost instsntly, so never thought to put behind a timer.