character_damage(name, damage_amount[, suppress_on_damage_callback[, attacker_name]])

Parameters:
name (string) name of the character
damage_amount (float) amount of damage to inflict, in hit points
suppress_on_damage_callback (boolean, optional) set to true to prevent any damage callback from executing when this function is called (defaults to true)
attacker_name (string, optional) name of the attacker (defaults to NULL)
 
Returns:
none

Description:
Inflict damage on a character.
 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:15