attack_safe(attacker[, target])

Parameters:
attacker (string) name of the attacker
target (string, optional) name of the target (defaults to the player)
 
Returns:
none

Description:
Make a character attack another character, but checks to see if either character is dead first.

If either the attacker of target is dead, the attack command is ignored.

 

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