• 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.

died doodads don't disapear

Status
Not open for further replies.
Level 5
Joined
Sep 27, 2008
Messages
147
hi i am building a map where i use a Ruint City Building as unit (Doodads\Cityscape\Structures\CityBuildingSmall0_1_Ruined\CityBuildingSmall0_1_Ruined.mdl)

but when it dies the Model file don't disapear so it become a Ruint building without lifes and without Pathing map is there a way to fix that?
 
Level 9
Joined
Aug 27, 2009
Messages
473
Make it to a Unit.
Fix it to your likeing.

Make trigger:
  • Unit Dies
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to [Name of your unit]
    • Actions
      • Unit - Remove (Dying unit) from the game
Thats maby complicated, but it works. (Maby you dont even need the trigger if you set the Doodad to a Unit..)

There is 100 of things you can do to fix this. But im telling you this since it was the first i was thinking about..
 
Level 6
Joined
Aug 26, 2009
Messages
221
because the model not have death animation
use this:
  • Remover
    • Events
      • Destructible - city ruins 0045(your destructible) dies
    • Conditions
    • Actions
      • Destructible - Remove (Dying destructible)
if there are many, use this:
  • Remover
    • Events
      • Destructible - a destructible within cityArea(region where the destructible stand) dies
    • Conditions
      • (destructible-type of (dying destructible)) equal to city ruins
    • Actions
      • Destructible - Remove (Dying destructible)
hope it's work..:grin:
 
Level 9
Joined
Aug 27, 2009
Messages
473
because the model not have death animation
use this:
  • Remover
    • Events
      • Destructible - city ruins 0045(your destructible) dies
    • Conditions
    • Actions
      • Destructible - Remove (Dying destructible)
if there are many, use this:
  • Remover
    • Events
      • Destructible - a destructible within cityArea(region where the destructible stand) dies
    • Conditions
      • (destructible-type of (dying destructible)) equal to city ruins
    • Actions
      • Destructible - Remove (Dying destructible)
hope it's work..:grin:

That also works.. ^^
Remove is a very nive action, works for unfinished Models!
 
Level 5
Joined
Sep 27, 2008
Messages
147
tryed
  • Untitled Trigger 002
    • Events
      • Destructible - A destructible within Rect 001 <gen> dies
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to House (Vertical Red) (Destroyed)
    • Actions
      • Destructible - Remove (Dying destructible)
and
  • Untitled Trigger 002
    • Events
      • Destructible - A destructible within (Entire map) dies
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to House (Vertical Red) (Destroyed)
    • Actions
      • Destructible - Remove (Dying destructible)
but they doesn't work
 
Level 5
Joined
Sep 27, 2008
Messages
147
hmm that only works for 5 units you select and only when they are already build.
in my map there are normals Houses in a town and when they die they become Ruint houses. and when they die they must disapear
 
Level 9
Joined
Aug 27, 2009
Messages
473
hmm that only works for 5 units you select and only when they are already build.
in my map there are normals Houses in a town and when they die they become Ruint houses. and when they die they must disapear

Aha.. Ill check that! :)

Here, remember to change the conditon "farm" to the house you want to remove! :D
 

Attachments

  • RemoveUnits.w3x
    17.1 KB · Views: 86
Level 5
Joined
Sep 27, 2008
Messages
147
hmm made the ruint House a Unit now it can be destroyed but i want the option that only Artillery can destroy it. so i gave the Artillery the option to attack walls but when i make the unit Target type as wall the Artillery can't attack them
 
Level 9
Joined
Aug 27, 2009
Messages
473
hmm made the ruint House a Unit now it can be destroyed but i want the option that only Artillery can destroy it. so i gave the Artillery the option to attack walls but when i make the unit Target type as wall the Artillery can't attack them

You have to sett targets allowed to: Structure
If that dont work, add Ground + Structure.. :)

Scroll up and download the new "System".. :)
 
Status
Not open for further replies.
Top