Jump to content

scripting help needed


steve750

Recommended Posts

Okay, im uploaded the test mod I made

http://www.file-upload.net/download-3391816/Door.esp.html

 

The door I added to Prim's Sherrif house.

Ingame type "coc PrimmSheriffStation" into the console to jump in there.

The door is hard not to find, it's the vault door.

The trigger is left of the desk to the right after you entered the house, in front of the shelf.

 

http://www.loaditup.de/files/609107.png

 

If you wannt to compare your mod with mine, you may find an issue. There must have gone weong. These points could be

 

a) the activator (with the script attached)

b) the triggerbox (check if your activator is chosen)

c) the linking together (must be s green line, not blue or sth)

d) the script, which is working for me

 

Scn TPRelocker1
ref myref

Begin OnTriggerEnter

 set myref to GetLinkedRef

 if IsActionRef Player == 1 
   myref.SetOpenState 0
   myref.lock 255
 endif
End

Edited by tortured Tomato
Link to comment
Share on other sites

  • Recently Browsing   0 members

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