Jump to content

ALEXPOW

Members
  • Posts

    7
  • Joined

  • Last visited

Nexus Mods Profile

3 Followers

About ALEXPOW

Profile Fields

  • Discord ID
    @teddybear4543
  • Country
    United States
  • Currently Playing
    Fallout 4
  • Favourite Game
    Project Zomboid

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ALEXPOW's Achievements

Rookie

Rookie (2/14)

1

Reputation

  1. Awesome, this worked perfectly. Thanks!
  2. Hi all. I'm once again attempting to use a script to play a sound, but I'm not sure how to go about it. I want the sound descriptor to play when my object is shot at using a weapon from the player. This object is placed by me in the Creation Kit, in an area the player cannot reach, and only once in a cell where no combat takes place, so realistically the restrictions should be lax. The object is an Activator with the model of a radio I made, which is essentially just a rectangle. If this is more properly done with a Static object (or something else), I can exchange it as needed. My current attempt to use the OnHit event for this have been fruitless. Either I simply don't understand something, or this event is not what I should be using. This is my current (pitiful) attempt at the script:
  3. Big thanks, everyone! Got it working. I found using a normal timer over a Game Time timer worked better. I hope that doesn't cause any issues that I'm unaware of. I have attached the script I used for anyone in the future. (Note: I added another sound that plays when the machine loads in for the first time, and added a ~30 second buffer of silence to the repeating sound's .wav files.) Again, huge thanks to everyone involved!
  4. The sound descriptor doesn't shuffle between different audio files when it is set to loop, as far as I know. It just picks one on the initial call and sticks with it until it is ended and called again. I would prefer it to shuffle between the audio files randomly.
  5. I was only able to get the sound to play once on load with this, it didn't seem to ever trigger again. Unless I didn't wait long enough.
  6. Basic backstory, new to scripting. Not quite sure how to aptly title this. I'm looking for a way to have a crafting station repeatedly play a sound descriptor every so often with the use of a script. The end product I'm hoping to achieve is a Crafting Station that will idly play a sound descriptor, wait between 5-10 minutes, and play a sound descriptor again. All of that without having to interact with the crafting station in the first place. If I must have it be done via interaction, that is okay. The main thing I want is the repeated sound descriptor. I don't want it to play a sound descriptor that is looping, as that only seems to play a single audio file and not a random one from the descriptor (unless I got unlucky on the activations). Currently, I only have a simple script that will play the sound descriptor whenever the item is interacted with. Not exactly what I want, especially since repeated interactions will cause the sound to overlap and destroy my eardrums. I also attached a picture of the Sound Descriptor, if that could help explain things. As a side note, I would like to know if there's a way I can make it so that proximity to the crafting station plays a sound descriptor, as if bumping into it. This has nothing to do with the above request's script or sound descriptor, it would be completely separate.
×
×
  • Create New...