Karnizero
Junior Member

Posts: 180
Registered: 07-08 |
Gez said:
First example on ThingCount:
code: script 1 OPEN
{
While(ThingCount(T_BARON, 10) > 0)
Delay(35);
Floor_LowerToLowest(15, 20);
}
Obviously, replace Floor_LowerToLowest by Exit_Normal(0). And also obviously adapt the ThingCount parameters are needed for your maps. If, say, the monsters are varied (a group of cacos, pinkies, and imps) but have all a TID of 66, then use ThingCount(T_NONE, 66).
If all the monsters are of the same type, and there are no other monsters of that type in the map, and this is a monster type with the BOSSDEATH flag, you can also use the SpecialAction MAPINFO keyword.
FORGET IT, lol
Last edited by Karnizero on 04-01-10 at 11:35
|