Jump to content
Sign in to follow this  
Guest

Door Close open Script

Recommended Posts

Guest

Hey i would like to make a script for lockig and cloasing doors, door locking i got but to open it again i got stuck :S

((nearestObjects [this, ["Land_i_House_Small_03_V1_F"], 5]) select 0) setVariable ['bis_disabled_Door_1',1,true]

there is the cod for locking the door

 

setVariable ['bis_disabled_Door_1',0,true]

this one should open it but i dont know where to put it in :S

 

do you know good solutions with a player action menu lock door and unlock it ?

 

thanks<3

Share this post


Link to post
Share on other sites
Guest

If done the action menü. the only part which i need right now is to disable the gamelogic for idk 10 sec than the person could enter and than the door gets closes again. or to deleat the game logic and place it under the door after 10 sec to close it aswell.

 

 

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  

×