-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into main
- Loading branch information
Showing
24 changed files
with
1,778 additions
and
1,877 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"Lua.diagnostics.disable": [ | ||
"unused-local", | ||
"empty-block" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,36 @@ | ||
[zone:bindToGroup]: https://1foreverhd.github.io/ZonePlus/api/zone/#bindtogroup | ||
|
||
## Functions | ||
|
||
#### getZones | ||
```lua | ||
local zonesArray = ZoneController.getZones() | ||
``` | ||
|
||
---- | ||
#### getCharacterRegion | ||
```lua | ||
local charRegion, regionCFrame, charSize = ZoneController.getCharacterRegion(player) | ||
``` | ||
|
||
---- | ||
#### getTouchingZones | ||
```lua | ||
local touchingZonesArray, touchingPartsDictionary = ZoneController.getTouchingZones(player) | ||
``` | ||
|
||
---- | ||
#### getHeightOfParts | ||
#### setGroup | ||
```lua | ||
local height, minY, maxY = ZoneController.getHeightOfParts(tableOfParts) | ||
local settingsGroup = ZoneController.setGroup(settingsGroupName, properties) | ||
``` | ||
|
||
---- | ||
#### vectorIsBetweenYBounds | ||
``properties`` is a dictionary defining the groups settings. The default properties are: | ||
```lua | ||
local bool = ZoneController.vectorIsBetweenYBounds(vector, tableOfParts) | ||
{ | ||
onlyEnterOnceExitedAll = true, -- When set to `true`, it prevents items (players, parts, etc) from entering multiple zones at once within that group. | ||
} | ||
``` | ||
A zone can be bound to a group using [zone:bindToGroup]. | ||
|
||
---- | ||
#### verifyTouchingParts | ||
#### getGroup | ||
```lua | ||
local bool = ZoneController.verifyTouchingParts(vectors, tableOfParts) | ||
local settingsGroup = ZoneController.getGroup(settingsGroupName) | ||
``` | ||
|
||
---- | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.