Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object visibility docs #73

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions wiki/MapData.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ object [<name>]
period <period#>
offset <offset#>
hazard <name> <period#>
visibility <maxDistance> [<minDistance>]
object [<name>]
...
```
Expand Down Expand Up @@ -387,6 +388,12 @@ hazard <name> <period#>

A system hazard with behavior as described above, only with its origin on this object instead of at the system center. An object can have multiple different hazards attached to it. **(v0.9.15)**

```
visibility <maxDistance> [<minDistance>]
```

The range from which the object is visible. `maxDistance` is the range where the object becomes invisible, and `minDistance` is where it becomes fully visible. If `minDistance` is greater, the object disappears as the player gets closer. **(v0.10.11)**

```
object [<name>]
...
Expand Down