Jump to content

Fallout 3/ Fallout NV Scripting Help


chasethis

Recommended Posts

OK here is my problem, I wanted to create a auto light where when you enter the room ( used the cubic activator) it turns the light on and a sound plays, ok i got that part but when i played the game and went to my cell and walked into the room the sound played continuous. and i want it to play one. I looked on other scripts and found DoOnce and that did nothing to help me. I think im doing it wrong. Please help. anything... :)
Link to comment
Share on other sites

you could write trap, this being an example

 

short doonce

 

if doonce == 0

<insert any code to execute once>

set doonce to 1

end if

 

the syntax may not be right but that is the jest of it

if it still plays then you have a setting wrong in the sound object

 

 

EDIT: posting the code you are using would help a lot in working out the problem

Edited by lostone1993
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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