Forum Jump :

Author Message


Posts: 1
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2011-07-13 05:41        
     
Greetings, and thanks for your help to anyone who does so. I want to be able to make doors that are normally open to start the game as closed. I need the script to open a door that is closed. I'm guessing those actions use much the same script, I just don't know what that is. Any help would be greatly appreciated.


Author Message

Pirin  



Posts: 1547
Rank:


Level: Member

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 43
In-game name: kylania

 
#2 Posted at 2011-07-13 06:40        
     
dvere (normal doors) and vrata (hanger doors) are the words to use to animate doors. 0 = open, 1 = closed.

myHouse animate ["dvere1", 0]; myHouse animate ["dvere2", 1]

Close most doors in 1000m area:
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)) };


Advertisement


Author Message


Posts: 24
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2013-05-30 21:03        
     
# Pirin : dvere (normal doors) and vrata (hanger doors) are the words to use to animate doors. 0 = open, 1 = closed.

myHouse animate ["dvere1", 0]; myHouse animate ["dvere2", 1]

Close most doors in 1000m area:
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)) };

This does nothing for me






Tags: Closed, Door, Open, Scripts