I'm with a maps project, creations coop (coop Sveen style and Half Life)
and wanted to know if there is any way to make NPCs give a point when they are murdered.
is it possible?
edited 1×, last 25.04.13 06:32:06 pm
addhook('objectkill', 'objectkillHook') function objectkillHook(dynid, id) 	if object(dynid, 'type') == 30 then --stuff 	end end
addhook('objectkill', 'objectkillHook') function objectkillHook(dynid, id) if object(dynid, 'type') == 30 then 		parse('setscore '..id..' '..(player(id,"score")+1)) end end
addhook('objectkill', 'objectkillHook') function objectkillHook(dynid, id) if object(dynid, 'type') == 30 then 		parse('setscore '..id..' '..(player(id,"score")+1)) end end