Destructible and detecting it's life.

nLike

Member
Reaction score
1
I need a trigger that will once a certain destructible is attacked and gets below certain points something will happen.

I know there isn't an event to detect destructibles life so i was thinking of workarounds. I could use a unit is issued an order targeting destructible but can't detect it's life. I was thinking about creating it a unmoveable attackless unit but that it will be autoacuired by non-allies.

Do you have any idea how could I do this?
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
I don't get what you mean by the last part. Do you want it to be auto-acquired?
 

nLike

Member
Reaction score
1
No the opposite. I don't want non-allies to auto-acquire the destructible. Although it's not much of an issue I want it to be clean if possible. If not I'll have to do it like that.
 

dianamod27

Member
Reaction score
1
There's no event for a destructible's life, but there are conditions. Dunno if that helps, you might want to post the trigger or specify what you want to happen when the destructible reaches a life percentage.
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
there are conditions.
Never noticed that. Thanks for the info.

I guess with conditions, you could do a periodic check on the destructible's life, then perform your actions if the destructible's life is below a certain value.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top