Check if followers are gathered
Returns:
| Type | Description |
|---|
| boolean | True if gathered |
Check if followers are gathering
Returns:
| Type | Description |
|---|
| boolean | True if gathering |
Check if any follower is moving
Returns:
| Type | Description |
|---|
| boolean | True if moving |
Returns a clone of the follower array
Returns:
| Type | Description |
|---|
| Array | Clone of the follower data array |
Get the follower at a given index
| Name | Type | Description |
|---|
index | number | The index of the follower |
Returns:
Gathers the followers
Hide the followers
Initialize followers settings
isSomeoneCollided(x, y)boolean
Check follower collision at the given coordinates
| Name | Type | Description |
|---|
x | number | The x coordinate to check |
y | number | The y coordinate to check |
Returns:
| Type | Description |
|---|
| boolean | True if collided |
Check if followers are visible
Returns:
| Type | Description |
|---|
| boolean | True if visible |
Jump all followers (for use when player jumps)
Refresh followers
Returns a reversed clone of the follower array
Returns:
| Type | Description |
|---|
| Array | Reversed clone of the follower data array |
Set up the followers
Show the followers
Sync the followers
| Name | Type | Description |
|---|
x | number | The x coordinate to synchronize at |
y | number | The y coordinate to synchronize at |
d | number | The direction to face |
Update followers
Update follower movement
Get visible followers
Returns: