UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

How do I set up an ai to have sound?

broken avatar :(
Created 11 years ago
by AwESOMECONNOR95
0 Members and 1 Guest are viewing this topic.
1,665 views
broken avatar :(
×
broken avatar :(
Location: caAt yo moms house
Date Registered: 1 October 2014
Last active: 10 years ago
Posts
62
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Deez nuts
Signature
Yo, I'm AwESOME95 I have a youtube channel and I'm new to mapping I also got a instagram steam, ps3 and more! Check the accounts out Above! and follow me
I'm was wondering if someone can help me script sound for an ai, pretty much like battle chatter. I have a link to the download for the scripts and where I put the sound files and ect. reply back to this post with the mistakes I would need to correct.

Download link to the script and the sound alias and ect: https://www.dropbox.com/s/bua1bdc8pgqb7zv/ai%20sound%20script.7z?dl=0

The script for the ai: #include maps\_utility;
#include maps\_zombiemode_utility;
#include common_scripts\utility;

init()
{
   thread ai_playsound();
}

ai_playsound()
{
        while(1)
        {
           soundtrigger = GetEnt ( "ai_playsound", "targetname" );
           self waittill("reload_start");
                self playSound("US_1_inform_reloading_generic_03");
           // self PlaySoundToTeam( "US_1_inform_reloading_generic_03", "allies", self );
        }
}
Last Edit: May 28, 2015, 11:36:56 pm by AwESOMECONNOR95
broken avatar :(
×
broken avatar :(
The Last of Us
Location: scotland
Date Registered: 28 September 2013
Last active: 6 hours ago
Posts
1,469
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎
Signature
×
smasher248's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
smasher248's Contact & Social Linkssmasher248smasher248
use code boxes for code
Last Edit: May 19, 2015, 01:43:31 pm by smasher248

 
Loading ...