Scripts / Soldier Killed By Sound

Author
Message
twsa
User Offline
Joined: 10th Aug 2019
Location:
Posted: 20th Aug 2019 21:21
hello all friends
how i Can run sound when the soldier dies or killed by rpg ak47 etc
PM
GubbyBlips
User Offline
Joined: 14th Jan 2019
Location:
Posted: 24th Aug 2019 00:05
Yes. GG needs a little manual for quick and basic implementation of
certain effects. I thought of doing it, but it should be a community wide
effort. Besides, what do I know? Everyone knows much more than I-
These forums are pretty great mostly but then the answer is probably
supplied already a few times somewhere around these hills...

Are you using Notepad++, and do you have global.lua loaded into it?
PM
GubbyBlips
User Offline
Joined: 14th Jan 2019
Location:
Posted: 24th Aug 2019 00:13

I found; > > ai_bot_oldhealth < < but I don't know what effect it accomplishes?

Also there has been some posts lately for working with sounds.
> > SetSound(e,v)
> > PlaySound(e,v)
PM
twsa
User Offline
Joined: 10th Aug 2019
Location:
Posted: 24th Aug 2019 18:15
yes i work on notepad ++ for editing script
i do search script in forume but i cant find it
PM
smallg
Community Leader
13
Years of Service
Recently Online
Joined: 8th Dec 2005
Location:
Posted: 28th Aug 2019 17:36
put the PlaySound(e,v) in the exit(e) part of the ai script which relates to the required sound
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Login to post a reply

Server time is: 2019-09-22 08:55:59
Your offset time is: 2019-09-22 08:55:59