onCreatureAppear

Triggered when a new creature added to Battle List.

Prototypes
onCreatureAppear(callback) -- callback = function(creature)
Parameters
    • function(creature): callback function
      • creature: creature object
Usage
onCreatureAppear(function(creature)
    info(creature:getName()) -- print the creature name
  end)