rem vis?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

rem vis?

Post by MPowell1944 »

Is there anyway to remove VIS from a map via script? I have removed doors via script and it leaves the vis in there which screws up the view of some rooms. Anyways to remove it?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Maybe spawn a script_object at the door and use openportal :?
Image
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Re: rem vis?

Post by Rookie One.pl »

MPowell1944 wrote:I have removed doors via script
How??? :shock: :shock: :shock: Tell us, pleeeaaaseee... :)
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

removeclass trigger

Removes all useable doors from a map.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

but then wouldnt that remove all the OTHER triggers?

and cant you just remove the areaportals by script.. arent they entities?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

No, all other triggers stay intact. I tested to make sure as my map mod uses trigger_use and trigger_multiple.

Don't know about areaportals.
Post Reply