(Gonna use it so when you kill all enemys, they all respawn)
1× editiert, zuletzt 24.08.11 21:25:07
addhook("always","_always") npcs=false function _always() 	npcs=false 	for _,id in ipairs(object(0,"table")) do 		if object(id,"type")==30 then 			npcs=true 		end 	end 	if npcs==false then 		msg("no enemies") 	else 		msg("there are enemies") 	end end