What is an enum name for a custom sound?

cheeseboi.

‎rock around the croc
So i was working on my new custom character and i imported an ogg file of the SA1 jump. In S_SKIN, i put:
DSJUMP = SA1JUMP
and in LUA_MAIN:
freeslot("sa1jump")
sfxinfo[sfx_sa1jump].caption = "SA1 Jump"
but when i tried the mod, Srb2 said "WARNING: . . . . LUA_MAIN: 1: Missing enum name in 'sa1jump' "

HELP. :dramahog:


edit: i fixed it
i renamed sa1jump to dssajum.
 
Last edited:

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

Back
Top