Forum Jump :

Author Message


Posts: 13
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: Fusion13

 
#1 Posted at 2013-12-02 22:10        
     
Hello, I am making a mission that I want a sound to play when a player dies but no matter what I do it won't play to everyone, I have tried
say3D
,
radioSide
etc,
playSound
, and
playMusic
my currenct code is
player addEventHandler ["Killed",{playSound"dead"; player globalChat "One Player Down keep fighting";}];

all help is appreciated <3!

I like boobies

Author Message


Posts: 685
Rank:


Level: Member

Country: nl
Location: Amsterdam
Occupation: IT nerd
Age: 43
In-game name: -=XTRA=-Larsiano

 
#2 Posted at 2013-12-02 22:49        
     
you should use a trigger for this is think
condition: if killed player; (not sure about this part)
on.act.: playsound killed
& set the trigger to repeatadly


Advertisement


Author Message


Posts: 13
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: Fusion13

 
#3 Posted at 2013-12-02 22:58        
     
# -=XTRA=-Larsiano : you should use a trigger for this is think
condition: if killed player; (not sure about this part)
on.act.: playsound killed
& set the trigger to repeatadly

I tired to make player addEventHandler ["Killed"]; my condition possibly but get error "Type number, Expected Bool" my on act is playSound "Dead";

I like boobies

Author Message


Posts: 685
Rank:


Level: Member

Country: nl
Location: Amsterdam
Occupation: IT nerd
Age: 43
In-game name: -=XTRA=-Larsiano

 
#4 Posted at 2013-12-02 23:14        
     
well, instead of using "!alive" (which check if the guy is dead), use "alive" (which check if the guy is alive).

http://www.armaholic.com/forums.php?m=posts&q=17417

Lifecheck: if this is true then the unit will only burn as ling as it is dead (!alive unit). Set to false to burn things like buildings and gamelogics.
http://www.kylania.com/ex/

i also think in a trigger the "" quotes are not required