Garry's Mod

Garry's Mod

Gmod Blueprints (Visual Scripting)
night 17 Apr, 2020 @ 1:23pm
how do i make a custom death sound?
idk how to
< >
Showing 1-2 of 2 comments
on the main like blueprints area with the 3 red box pin whatcha-ma-callems.

you need to right click.

look for player death or whatever the correct hook is (hooks are like hooking your own scripts onto the games pre-existing scripts so like the hook "onplayerhurt" will call all your commands connected to it when a player is hurt)

then add a server only pin so the server runs the rest of the script

find a sound or whatever the name of the pin is, just go wild until you find it. (you can hover over commands for what they do)

get a getpos pin and get the position of the player that died. (the playerdeath hook should have a blue pin you can connect the getpos pin to)

take the playsound command and connect the orange of the getpos to the orange of the playsound.

to get a sound hold c and go to the sound browser in the top left.

put it in the sound thing.

should work i think
night 25 Apr, 2020 @ 4:34pm 
i forgot to mention im not a scripter im trying it out
< >
Showing 1-2 of 2 comments
Per page: 1530 50