View Single Post
Old 01-14-2009, 11:12 AM   #4
span
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
Hi.

Thanks for the help. I was able to work from your feedback and found this in hunted.lua. But since i am no genious at lua scripting im not sure how to bind this to a trigger_muntiple entity. Does anyone know?

Combine these?

Code:
trigger_broadcast = trigger_ff_script:new({})

function trigger_broadcast:ontouch( touch_entity )
	if IsPlayer( touch_entity ) then
and

Code:
--	if player:GetTeamId() == Team.kBlue then
--		BroadCastSoundToPlayer(player, "ff_examplemap.examplesound")
end
span is offline   Reply With Quote