• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Create several doodads with one line

Status
Not open for further replies.
Level 6
Joined
Mar 5, 2010
Messages
149
Well, this is how it looks:
  • Destructible - Create a Summer Tree Wall at TempPoint facing (Random angle) with scale 1.00 and variation 0
A, just one, you can't change quantity. So is there any way to make lots of trees (I need at least 25) with just one trigger?
+Rep for everybody who helps me.

EDIT: Excuse me for the title! It should be "Create several DESTRUCTIBLES with one line".
 
  • Actions
    • Set (TeempPoint) = somewhere
    • Destructible - Create a Summer Tree Wall at TempPoint facing (Random angle) with scale 1.00 and variation 0
    • If (All conditions are true) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Temp_Integer) Less than 25
      • Then - Actions
        • Set (Temp_Integer) = (Temp_Integer) + 1
        • Trigger - Run (This trigger) blahblahblah
      • Else - Actions
        • Set (Temp_Integer) = 0
 
  • Actions
    • Set (TeempPoint) = somewhere
    • Destructible - Create a Summer Tree Wall at TempPoint facing (Random angle) with scale 1.00 and variation 0
    • If (All conditions are true) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Temp_Integer) Less than 25
      • Then - Actions
        • Set (Temp_Integer) = (Temp_Integer) + 1
        • Trigger - Run (This trigger) blahblahblah
      • Else - Actions
        • Set (Temp_Integer) = 0

Well, I gonna have it in Map Initialization, so unfortunately that wont work.

  • For each (Integer A) from 1 to 10, do (Actions)
    • Loop - Actions
This does the action, repeating 10(the second integer in the For Each Integer trigger) times.

Thanks!

+Rep for all three anywayz.
 
Status
Not open for further replies.
Back
Top