Destructble Replacing

Status
Not open for further replies.
Level 16
Joined
Jul 21, 2008
Messages
1,121
Implement these triggers:
  • Replace Destructable
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Destructible - Pick every destructible in (Playable map area) and do (Actions)
        • Loop - Actions
          • Trigger - Add to Execute <gen> the event (Destructible - (Picked destructible) dies)
  • Execute
    • Events
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to <Your Destructible>
    • Actions
      • Set TempPoint = (Position of (Dying destructible))
      • Destructible - Create a Barrens Tree Wall at TempPoint facing (Random angle) with scale 1.00 and variation 0
      • Custom script: call RemoveLocation(udg_TempPoint)
 
Status
Not open for further replies.
Top