Page 1 of 1

Scenery Script

Posted: Wed Mar 07, 2007 4:58 am
by Malolo420
I'm trying to make my scenery disappear when I switch BSP's but object_destroy doesn't work.
How would I do this?

Posted: Wed Mar 07, 2007 8:15 am
by kirby_422
name each peice of scenary something, I sugest you use scenery1, scenery2, scenery2, ect. cause then you can use object_destroy_containing scenery, then everything with the lable scenery in it will disaper

your object_destroy wasnt working since you wernt putting a name in, and the names arnt the tag names.

Object_destroy_all also works, but it destroys all lol

Posted: Wed Mar 07, 2007 2:35 pm
by Malolo420
I had names for them, they were called t1 to t16.
Something must have been wrong in my script, but I'll try object_destroy_containing scenery.
Oh and I also tried object_destroy_all.

Edit: I got it to work thanks alot.