testing if an object is enabled or disabled

Post » Mon Mar 21, 2011 10:35 pm

SOLVED

I visit the wiki regularly but couldn't find a syntax for "If ObjectREF is disabled". How would I write that?

if ObjectREF.disable == 1

Should it be this or something else? And another one for activators like switches. "If ObjectREF is on"

if ObjectREF.GetOpenState == 1

Does that even work for non containers or doors? The wiki only says so much on how these things are used so I'm not sure how to proceed.


Add:
@WillieSea - Doh! Why in all that is good in this world did I not see that? (Sorry gang!)
User avatar
JLG
 
Posts: 3364
Joined: Fri Oct 19, 2007 7:42 pm

Post » Mon Mar 21, 2011 10:51 am

http://geck.gamesas.com/index.php/GetDisabled

If Molerat01Ref.GetDisabled == 1

User avatar
April D. F
 
Posts: 3346
Joined: Wed Mar 21, 2007 8:41 pm


Return to Fallout 3