Doors with parent activate only flag

Post » Fri May 13, 2011 4:30 pm

It appears to me that if a door is set with a parent activate only flag - as in open/closed by a switch, prevents the use of the SetOpenState command from executing on the door from a script. Can anyone else confirm this?
User avatar
Alessandra Botham
 
Posts: 3440
Joined: Mon Nov 13, 2006 6:27 pm

Post » Fri May 13, 2011 6:10 am

I think I had some trouble with this in my mod, where I have those doors opened by the switches in the Commercial labs. Instead of using SetOpenState, just activate the switch that opens the door, that should work fine inplace of the setopenstate.
User avatar
Aman Bhattal
 
Posts: 3424
Joined: Sun Dec 17, 2006 12:01 am

Post » Fri May 13, 2011 10:07 am

That's what I just finished doing. I just thought it strange that the setopenstate would not work under those circumstances, but I guess it doesn't.
User avatar
Shianne Donato
 
Posts: 3422
Joined: Sat Aug 11, 2007 5:55 am

Post » Fri May 13, 2011 3:20 pm

The 'parent activate only flag' overrides the normal activation.

Its just like if you put a script on a door and it has an 'OnActivate' block in it. If you do not code the 'activate' command in the script, you cannot open the door.
User avatar
Jani Eayon
 
Posts: 3435
Joined: Sun Mar 25, 2007 12:19 pm


Return to Fallout 3