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?
 
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..
 
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:
 
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!
 
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
 
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
 
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

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
 
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.
Back
Top