View Single Post
Old 10-07-2007, 06:59 PM   #6
stino
 
Join Date: Mar 2007
Posts Rated Helpful 0 Times
only the kill kill kill will do:
Code:
KILL_KILL_KILL = trigger_ff_script:new({ team = Team.kUnassigned })
function KILL_KILL_KILL:allowed( activator )
	local player = CastToPlayer( activator )
	if player then
		if player:GetTeamId() == self.team then
			return EVENT_ALLOWED
		end
	end
	return EVENT_DISALLOWED
end
blue_slayer = KILL_KILL_KILL:new({ team = Team.kBlue })
red_slayer = KILL_KILL_KILL:new({ team = Team.kRed })
so name the trigger blue_slayer and red_slayer. (i guess it has to be trigger_hurt)
stino is offline   Reply With Quote