ai_set_action_delay(attacker, action_name)

Parameters:
attacker (string) name of the attacker
action_name (string) name of the action to suggest, see tables/AI/combat_actions.xtbl for list.
 
Returns:
none

Description:
Prevent AI from doing an action for X ms (even if is is scripted action)

delay: ms before trying this action again

 

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