bool ActorExists(int tid)
Returns true if at least one actor with the specified tid exists. If tid is 0, returns true if the activator of the script is an actor.