Forum Jump :

Author Message


Posts: 18
Rank:


Level: Member

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

 
#199406 Posted at 2018-07-01 23:33        
     
Hi good folks

I have a number of 'placed' cage doors synced to the Open/Close door module in the editor (BIS_fnc_moduleDoorOpen).
The module operates the doors fine from the mission editor - If I have it set to 'Closed' in the editor, they are all closed - When it's set to 'Open', they are all open.

What I need is a script that I can run during mission to change the setting from 'Closed' to 'Open'. I have a lever that will have an addAction to operate the doors and execute a script, but I have no idea how to script the change of the 'Open/Close' attribute in the BIS_fnc_moduleDoorOpen module.

Does anyone know how to do this?

Cheers
Vapour






Tags: Module, Doors, Open, Close