CODE Import Audio code for DankFF (1 Viewer)

FusionFall.org

Website Owner
Staff member
Website Owner
Member
from unitypack.modding import import_audio

audio_length = 0.0 # put here the audio length in seconds
new_audio = tabledata.add_object(83)
import_audio(new_audio.contents, 'path_to_audio', audio_length, 'some_name')
tabledata.add2ab('some_new_path_in_tabledata.wav', new_audio.path_id)
 

Attachments

  • audio.txt
    290 bytes · Views: 25
Top