This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
groups [2017/07/17 12:05] – justin | groups [2023/01/31 21:28] (current) – justin | ||
---|---|---|---|
Line 17: | Line 17: | ||
=====Auto-Hiding Entities at Game Time===== | =====Auto-Hiding Entities at Game Time===== | ||
+ | Groups can also be used as a way to have the game automatically hide tile layers based on the current location of the player character. This is useful in cases where there is a building with multiple floors and you'd like the tiles and objects of upper floors to be hidden when the player is on a lower floor. | ||
+ | |||
+ | <WRAP center round info 100%> | ||
+ | Please note that the auto-hiding feature will not work if your game has Fog of War enabled. When using Fog of War, you'll need to manually hide and show groups using the [[Hide Group]] and [[Show Group]] scripting functions. | ||
+ | </ | ||
+ | |||
<WRAP group> | <WRAP group> | ||
- | < | + | <WRAP column |
- | While mostly an experimental | + | To use this feature, |
</ | </ | ||
- | < | + | <WRAP column> |
{{: | {{: | ||
</ | </ | ||
</ | </ | ||
- | |||
- | To accomplish this, you would add any walkable tiles on the lower floor to a group (as an example, say " | ||
~~NOTOC~~ | ~~NOTOC~~ |