Jump to content

Modding/Scripting Help Needed Plz


PsychoForge

Recommended Posts

Im wanting an NPC to tell the player to enter a small room and sit down, Now what i need is when the player sits down the door auto closes and locks and then 4 pipes start throwing out gas in to the small room and i would like it is possible for the room to start filling with gas over a time of 10 to 20 seconds then i need the players character to pass out and then be moved to another room in my complex.

 

Can anyone help me out here plz im really new to scripting and still getting hang of stuff like triggers etc

 

Thanks

Link to comment
Share on other sites

For the dialogue, you need SayTo: http://geck.bethsoft.com/index.php/SayTo

 

For the sitting, you can have a custom chair or bench with a script that has an OnActivate: http://cs.elderscrolls.com/constwiki/index.php/OnActivate

 

For closing/locking the door:

 

http://cs.elderscrolls.com/constwiki/index.php/SetOpenState

http://geck.bethsoft.com/index.php/Lock

 

I'm not sure about the gas. I think that's a lighting effect. The rest is all stuff I would swipe from the main quest scripts, using in my own quest scripts. I'm not sure how you would do all of it.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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