• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Why do triggers appear not indented?

Status
Not open for further replies.
Level 15
Joined
Sep 6, 2015
Messages
576
Since recently the triggers "Copied As Text" from the World Editor and put into ["trigger"]["/trigger"] tags don't appear indented for me in my posts as they should and like they appear in the editor, but they appear like this:
  • base.gif
    Untitled Trigger 001
    • join.gif
      events.gif
      Events
    • join.gif
      unit.gif
      Unit - A unit Starts the effect of an ability
    • join.gif
      cond.gif
      Conditions
    • join.gif
      if.gif
      (Ability being cast) Equal to Firebolt (Neutral Hostile)
    • join.gif
      actions.gif
      Actions
    • join.gif
      if.gif
      If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • join.gif
      cond.gif
      If - Conditions
    • join.gif
      if.gif
      (Distance between (Position of (Triggering unit)) and (Position of (Target unit of ability being cast))) Greater than or equal to 600.00
    • join.gif
      actions.gif
      Then - Actions
    • join.gif
      zzz.gif
      Wait 0.40 seconds
    • join.gif
      unit.gif
      Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (50.00 + (3.20 x (Real((Intelligence of Blood Mage 0000 <gen> (Include bonuses)))))) damage of attack type Spells and damage type Normal
    • join.gif
      actions.gif
      Else - Actions
    • join.gif
      if.gif
      If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • join.gif
      cond.gif
      If - Conditions
    • join.gif
      if.gif
      (Distance between (Position of (Triggering unit)) and (Position of (Target unit of ability being cast))) Greater than or equal to 400.00
    • join.gif
      actions.gif
      Then - Actions
    • join.gif
      zzz.gif
      Wait 0.30 seconds
    • join.gif
      unit.gif
      Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (50.00 + (3.20 x (Real((Intelligence of Blood Mage 0000 <gen> (Include bonuses)))))) damage of attack type Spells and damage type Normal
    • join.gif
      actions.gif
      Else - Actions
    • join.gif
      if.gif
      If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • join.gif
      cond.gif
      If - Conditions
    • join.gif
      if.gif
      (Distance between (Position of (Triggering unit)) and (Position of (Target unit of ability being cast))) Greater than or equal to 200.00
    • join.gif
      actions.gif
      Then - Actions
    • join.gif
      zzz.gif
      Wait 0.20 seconds
    • join.gif
      unit.gif
      Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (50.00 + (3.20 x (Real((Intelligence of Blood Mage 0000 <gen> (Include bonuses)))))) damage of attack type Spells and damage type Normal
    • join.gif
      actions.gif
      Else - Actions
    • join.gif
      if.gif
      If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • join.gif
      cond.gif
      If - Conditions
    • join.gif
      if.gif
      (Distance between (Position of (Triggering unit)) and (Position of (Target unit of ability being cast))) Greater than or equal to 0.00
    • join.gif
      actions.gif
      Then - Actions
    • join.gif
      zzz.gif
      Wait 0.10 seconds
    • join.gif
      unit.gif
      Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (50.00 + (3.20 x (Real((Intelligence of Blood Mage 0000 <gen> (Include bonuses)))))) damage of attack type Spells and damage type Normal
    • joinbottom.gif
      actions.gif
      Else - Actions
Instead of like this:
  • base.gif
    Regrow Trees
    • joinminus.gif
      events.gif
      Events
      • line.gif
        joinbottom.gif
        unit.gif
        Unit - A unit Starts the effect of an ability
    • joinminus.gif
      cond.gif
      Conditions
      • line.gif
        joinbottom.gif
        if.gif
        (Ability being cast) Equal to Regrow Trees
    • joinbottomminus.gif
      actions.gif
      Actions
      • empty.gif
        joinbottom.gif
        dest.gif
        Destructible - Pick every destructible within 300.00 of (Target point of ability being cast) and do (If (((Picked destructible) is dead) Equal to True) then do (Destructible - Set life of (Picked destructible) to 30.00) else do (Do nothing))
So, my guess is that it's either because of the new Hive or because of the patch 1.27a, or maybe because of something else.
 
Level 15
Joined
Sep 6, 2015
Messages
576
They don't appear indented, only the first indent is there, but further ones aren't. Here's the screenshot from "Edit" message text of the newer message that doesn't appear indented:

II9jBsD.png


And here is the same screenshot from the older message that is indented properly:

tXsRh48.png


Also now it seems to add a blank row before and after the trigger when it is copied, though I don't remember if it did that before too.
 
Status
Not open for further replies.
Top