Pierrot 0 Posted July 8, 2003 Hi there! I have a question about Event Handler. There are "Dammaged" and "Hit" EH. "Dammaged" string:selectionName,scalar:howMuch "Hit" object:causedBy,scalar:howMuch What is the difference between this two EHs. I confirm that "Hit" EH works when the unit is attacked and receives dammage, but can't confirm when "Dammaged" EH is called. Do you know when and in what circumstances "Dammaged" EH will be called? Share this post Link to post Share on other sites
kegetys 2 Posted July 8, 2003 dammaged seems to trigger when a part in the vehicle is damaged, for example when you shoot a guy in the head, and do enough damage to damage the head (as in turn it bloody) the dammaged handler triggers with "hlava" selection name. Also, hit is only triggered where the unit is local while dammaged triggers for everyone. Share this post Link to post Share on other sites
the_unknown_one 0 Posted July 8, 2003 and this is in teh rong forum. the_unknown_one Share this post Link to post Share on other sites
Pierrot 0 Posted July 9, 2003 Quote[/b] ]dammaged seems to trigger when a part in the vehicle is damaged, for example when you shoot a guy in the head....... the dammaged handler triggers with "hlava" selection name. Can you apply "Dammaged" EH not only to human units but also to vehicle units? For example, tanks and choppers. It would be great if we could detect dammaged parts of vehicles, e.g. main rotor of chopper, leg of tank, cannon of tank and so on. By the way, is "hlava" selection name defined by OFP? Can we change it or define new selection name? Share this post Link to post Share on other sites