Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
riki2321

thingcount with decorate

Recommended Posts

hi

script 2 OPEN
{
   delay(1);
   if (ThingCount(12803, 1) == 0)
   {
        printbold(s:"Good job.");

        Delay(35*5);
        Exit_Normal(0);
    }
        
    restart;
}


so 12803 is a decorate called "cybernoob" and so what T_(name here) should i put for it to take the decorate version???

Share this post


Link to post

The T_ number is not the one you use in the editor. It's the one you assign to your actor with the SpawnID property.

That, said, you should use ThingCountName with the actual class name ("cybernoob") instead.

Share this post


Link to post
Graf Zahl said:

The T_ number is not the one you use in the editor. It's the one you assign to your actor with the SpawnID property.

That, said, you should use ThingCountName with the actual class name ("cybernoob") instead.

thanks

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×