Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

wowmal

Allies
  • Posts

    6
  • Joined

  • Last visited

wowmal's Achievements

Layman

Layman (1/11)

0

Reputation

  1. Very cool. Much cleaner. I didn't realise "akActionRef" could be the player or NPC's. Thanks again for your help!
  2. Believe I figured it out Scriptname CloseMyDoorScript extends ObjectReference ObjectReference Property MyDoor auto Event OnTriggerEnter(ObjectReference akActionRef) if akActionRef == Game.GetPlayer() MyDoor.SetOpen(false) elseif akActionRef != Game.GetPlayer() MyDoor.SetOpen(false) endif EndEvent Now my NPC;s aren:t leaving doors open all the time!
  3. Another question. Does this script look right to allow the player and or NPC's to activate the trigger? Scriptname CloseMyDoorScript extends ObjectReference ObjectReference Property MyDoor auto Event OnTriggerEnter( ObjectReference akActionRef ) if akActionRef == Game. GetPlayer() elseif akActionRef != PlayerREF MyDoor. SetOpen (false ) endif EndEvent
  4. Thank you Mr. Ghaunadaur! I'm very new to Skyrim modding. You have been most helpful. My door closes behind me as I walk through the trigger leaving the room.
  5. Sweet! Seems to work ok. Quick question about the trigger box. It has a "defaultActivateSelf" script on it already. So when I add the "closedoor" script it shows as having 2 scripts. Is that normal?
  6. Looking for a script where my character walks through a trigger box and it closes a door.
×
×
  • Create New...