Jump to content

Need help with scripting


Venarge

Recommended Posts

Hey all,

my problem is im not talented in scripting and that. For my new mod, I need a spell that creates a door to a special place. This door should be enterable for player and NPC. After the player entered, the NPC on the other side still should be able to enter. I have no idea if there is a possibility to get this to work but maybe a talented scripter could help me.

 

Greetz

 

Venarge

Link to comment
Share on other sites

If your door is in a specific place, then what you would do is place a door in the world and mark the "initially disabled" box on it. Then when you cast the spell, your scripting would enable it.

 

I have not worked with spell scripts yet, but I imagine that they could include lines like this:

 

AAMyMagicPortal.enable()

Door Property AAMyMagicPortal  Auto

 

(The property on the script would also need to be set so that AAMyMagicPortal points to your door.)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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