kts.SenseKnight

Name

kts.SenseKnight – show other knights on the current actor's map

Synopsis

kts.SenseKnight(duration)

Description

If the current actor (cxt.actor) is a knight, then the player controlling that knight will now be able to see the location of all other knights in the dungeon on their mini-map, for the next duration milliseconds.

If "Sense Knight" is already in effect for the current actor, then the timer is simply restarted, from the present time, for the new duration.

If the current actor is not a knight, nothing happens.

Return Value

None.

Examples

In the standard Knights data files, this effect is triggered one in four times when a scroll is read: see magic.lua.

See Also

The cxt table

kts.DispelMagic

kts.RevealLocation

kts.SenseItems