Knuckle Cracker

Creeper World 4 => Making Maps, Units, and Scripts => Topic started by: Narcosis on May 13, 2021, 11:42:32 PM

Title: how do i detect when a certain number of Air Sac cauldrons are nullified?
Post by: Narcosis on May 13, 2021, 11:42:32 PM
In my map i've set it up so that the goal is surrounded by a large amount of crimsonator that make it impossible to reach so you have to nullify 6 Air Sac cauldrons to remove it.

I already know how to remove the crimsonator but i cant figure out how to detect when the Air Sac cauldrons are nullified. Can anyone help me out with this?
Title: Re: how do i detect when a certain number of Air Sac cauldrons are nullified?
Post by: Karsten75 on May 14, 2021, 08:11:44 AM
You can test by using this command"

https://knucklecracker.com/wiki/doku.php?id=4rpl:commands:getunitsuppresscount
Title: Re: how do i detect when a certain number of Air Sac cauldrons are nullified?
Post by: Narcosis on May 14, 2021, 10:30:49 PM
thanks, when i figured out that you have to use the id number of the unit that seemed to work