group_foreach_npc(group, fn) | ||
Parameters: | ||
group | (string or table) the name of the script group or a script group table with a "name" field. | |
fn | (function reference) the funciton you wish to execute on each NPC. Should be protoyped like so - my_func(npc_name) | |
Returns: | ||
none | ||
Description: | ||
run a function on each NPC in a provided group. | ||
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:16 |