Pick random corpse?

Bogrim

y hello thar
Reaction score
154
Use conditions to specify what unit you want to pick.

Set Unit Group = Units in (Region) matching (boolean condition: Unit is dead Equal to True)
Set Unit = Random unit from (Unit Group)

You'll want to add more conditions depending on the purpose of your trigger, e.g. disclude buildings, mechanical units or stuff like that.
 

Wratox1

Member
Reaction score
22
Use conditions to specify what unit you want to pick.

Set Unit Group = Units in (Region) matching (boolean condition: Unit is dead Equal to True)
Set Unit = Random unit from (Unit Group)

You'll want to add more conditions depending on the purpose of your trigger, e.g. disclude buildings, mechanical units or stuff like that.

thanks:D
 

Baldar

New Member
Reaction score
2
Trigger:
  • Set Unit_Group = (Units in (Playable map area) matching ((((Triggering unit) is Dead) Equal to True) and (((Triggering unit) is Mechanical) Equal to False)))

But I think you have to add many other boolean conditions, like if unit is an ancient, or an undead, structure etc...
 

Black Hawk

New Member
Reaction score
16
Buildings don't usually make corpse, in object editor the say no decay. Mechanical units also dont decay Undead units are considered alive until killed. The trigger is OK. For custom units, don't make the ones you want decay
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top