[ tamius.net | &DnD — magic++ ]
« back to the first page

General

General functions

getObject(direction)

Returns the first object (any object, item, character) in given direction. (Variable ’direction’ stores both starting point and direction relative to the world)

getObject(direction, type)

Returns the first object of given type (Item, Player, Object, Plant, Creature) in a given direction.

getObject(direction, n)

Returns nth object of any type in a given direction.

getObject(direction, type, n)

Returns nth object of a given type in a given direction.

General constants and objects:

All of the standard dice are universally available. D4, D6, D8, D10, D12, D20.