-- AI : Zombie Behavior module_combatmelee = require "scriptbank\\ai\\module_combatmelee" function ai_zombiewalk3a_init(e) module_combatmelee.init(e,ai_combattype_bashmelee) end function ai_zombiewalk3a_main(e) module_combatmelee.main(e,ai_combattype_bashmelee,ai_movetype_usespeed) end function ai_zombiewalk3a_exit(e) -- when zombie killed call the function below to add 1 to the number of zombies killed AddGlobalVarVal(GLOBALVAR,1) end function AddGlobalVarVal(gvar,newval) g_varindex[gvar]['vval']=g_varindex[gvar]['vval']+newval end