The damage acts like: model notify("damage", iDamage, eAttacker);
About the A* functions, I never uploaded the actual implementation of it (just use the _astar.gsc, it's even more dynamic).PHP Code:
while (1) {
model waittill("damage", iDamage, eAttacker);
iprintlnbold("damage: " + iDamage);
}