User Tools

Site Tools


4rpl:commands:setdarkcell

This is an old revision of the document!


Index

:!: Available in version 2.5 and later.

CommandName

SetDarkCell(<-x, <-y, <-darkness)

Description

Sets the fog or darkness level of the cell at the specified coordinates (`x`, `y`) to the provided `darkness` value. Note that “darkness level” does not imply a shading, but a cumulative value - when greater than zero, the cell will be dark. The intent is that multiple Dark towers can each set the cell as “dark”, destruction or nullification of each Dark Tower will reduce the darkness value by one, until all towers are eliminated, the value will be zero and the cell will be illuminated.

Examples

# need worked example

Index

4rpl/commands/setdarkcell.1716465097.txt.gz · Last modified: 2024/05/23 07:51 by Karsten75