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".
 
Level 7
Joined
Dec 24, 2009
Messages
257
  • 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
 
Level 6
Joined
Mar 5, 2010
Messages
149
  • 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.
Top