How do I attach captions to custom sounds?

Luigifan18

Member
By this, I mean the commentary that the game can display alongside sound effects playing, like [Electric zap], [Aquaphobia], or [Obnoxious disco music]. I checked the wiki, and it says nothing about how a caption would be attached to a sound. (It would be part of the sound effect table, right?)
 
In a lua script write this
Lua:
sfxinfo[sfx_hjmp].caption = "High Jump"
make sure you freeslot the sound first
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top