says it all in the title really how can i send a message to all object in the scene of the tag ‘Enemy’
You use a loop to get each instance and send a message to each of them.
function SendNewMessage(){
var gos : GameObject[];
gos = GameObject.FindGameObjectsWithTag("Enemy");
for(var i = 0; i<gos.length; i++){
gos*.SendMessage("ApplyDamage", 100);*
}
}