Jump to content

Script Issue


Recommended Posts

Did you set the linked ref of the trigger to the door?

 

Another possible problem is that you have two Actors (the turrets) already inside the trigger, I'm not sure how the trigger will respond in that instance as I have never attempted to place actors inside of triggers before.

 

Lastly, you could use some implicit references instead of the MyLink variable.

 

Things you may want to try:

 

Use 'OnTriggerEnter Player' to force the trigger to only work for the player and not all actors.

Give your door an editor ID (it must already be persistent as its being used as a linked reference), then instead of using MyLink, use the editor ID of the door, as in:

If MyDoorRef.GetOpenstate == 3

MyDoorRef.SetOpenState 1

 

Basically, I'm not sure why the player is freezing versus the game. I have not experienced that kind of behavior before. Perhaps that vault door needs to be activated versus having its open state changed.

Link to comment
Share on other sites

I just checked the vault gear door as its been a while since I worked with it. It does need to be activated as opposed to having its open state changed. So, try MyLink.Activate for both the enter and leave parts of the code, and loose the getopenstate command.
Link to comment
Share on other sites

Hmm. Ya know what, i've desided to drop the automatic opening. It's a safe after all. So... do I just link the little control console to the Gear Door, or what?

 

Thank you for your help with the script! So now, if you could just help me finish up the door activating consol. Thank you so much man,

 

- Falloutperson416

Link to comment
Share on other sites

basically, its just like using any switch to activate something else. Put in the vault gear door control switch, make it persistent and using the door's activate parent tab, link it to the switch. Then check the box that says something like "Parent Activate Only" so that the door can only be activated by the switch, and not by the door itself. You may want to place a second linked door control panel in the vault room itself in case the player activates the outer switch, then run inside. This would trap them inside forever without the inside switch..
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...