Jump to content
Sign in to follow this  
MANTIA

Entering Close Door Script (maybe too much of a noob)

Recommended Posts

Ok guys before I get hammered I HAVE used the search feature. I think I'm just too noob :(

Anyways I've been toying with creating a mission today. Have gotten a lot of help from youtube tutorials and such. HOWEVER, I can not find out how or where to put this "close door" script I found. I know for something like a person i click on them and put in a script but not sure about this door thing.

Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites

using this from rommel?:

0 = [getpos this,1000] spawn {
sleep 1;
{
	private "_b"; 
	_b = _x;
	for "_i" from 0 to 7 do {
		_b animate ["dvere" + str _i,1]
	};
} foreach ((_this select 0) nearobjects (_this select 1))

put it in the init of some object, all doors will be shut, 1000m radius from that object

Edited by Mattar_Tharkari

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×