kts.IsKnight

Name

kts.IsKnight – determines whether a Creature is a Knight

Synopsis

result = kts.IsKnight(creature)

Description

If the given creature is a Knight then true is returned. If it is some other type of Creature, or is nil, then false is returned.

Errors

If creature is neither nil, nor a valid Creature, then the error "Bad userdata" is generated.

See Also

kts.ActorIsKnight