Re: PlaySoundGlobal??????


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]

Posted by Newbie Thrawn on May 06, 1998 at 15:14:23:

In Reply to: PlaySoundGlobal?????? posted by Tazz on May 06, 1998 at 05:18:29:

Hola Tazz,
I used Playsound global in my JK taunts Patch.

Here is the cog:

# Jedi Knight Cog Script
#
# taunt1.cog
#
# Part of the JK Taunts Patch
#
#
# (C) 1998 Ramon Galvan All Rights Reserved


symbols

sound tauntSnd=taunt01.WAV

message activated


end

# ========================================================================================

code

activated:
Print("Taunt #1");
PlaySoundGlobal(tauntSnd, 1, 0, 4);

Return;

end

tauntsnd = the sound
1= the volume
0 = the panning value (0 is no panning)
4 = the flag (dont know what 4 means. It might be in the updated JK specs--I used 4 because thats the value used for the global announcements in JK CTF)

Hope this helps...

Newbie Thrawn



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]