Quick question about disabling/enabling things.

Post » Sat Mar 20, 2010 9:52 am

If something is already disabled, and I run a script somewhere that disables it, will the crash the game or just not do anything? Same thing with enabling. If something is already enabled and I run a script that enables it, will it just not do anything? Don't ask what this is for, I know it sounds weird but I have a good reason :P

Gunmaster95
User avatar
Rob
 
Posts: 3448
Joined: Fri Jul 13, 2007 12:26 am

Post » Sat Mar 20, 2010 8:19 am

I don't think it will crash, but you could always check it with http://geck.gamesas.com/index.php/GetDisabled.
User avatar
Alex Blacke
 
Posts: 3460
Joined: Sun Feb 18, 2007 10:46 pm

Post » Sat Mar 20, 2010 3:21 pm

I bet the game doesn't care. You could try it from console of course...
User avatar
Matthew Barrows
 
Posts: 3388
Joined: Thu Jun 28, 2007 11:24 pm

Post » Sat Mar 20, 2010 11:52 am

Thanks to both of you. I will try from console, and probably use GetDisabled as well just to be safe. Thanks!
User avatar
sam westover
 
Posts: 3420
Joined: Sun Jun 10, 2007 2:00 pm

Post » Sat Mar 20, 2010 8:12 pm

The disable or enable state of an object is just a switch variable.
For example:
You have a light that has a seperate on and off button. Its currently off. You press the off button again, no change, no explosion, life goes on.
:)
User avatar
Kat Ives
 
Posts: 3408
Joined: Tue Aug 28, 2007 2:11 pm

Post » Sat Mar 20, 2010 9:01 pm

Ok thanks. I was doing something where you pick one of like 3 things to change an object to. Like the 'mode' of it. So i would just disable 2 of them, and enable the third in the right 'mode' (its just what the object does when you interact with it) so when I enable object 3 it disables 1 and 2, but one of those is already disabled, so I wanted to make sure it wouldnt mess anything up. Thanks again :D
User avatar
Ian White
 
Posts: 3476
Joined: Thu Jul 19, 2007 8:08 pm


Return to Fallout 3