Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Excerpt |
---|
Triggered when a game object leaves a group... |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
eventGroupLoss(gameObject, groupID, groupSize) |
Parameters
Parameter | Type | Notes | Game Version |
---|---|---|---|
gameObject | Game object | The object that left the group. Note that in WZ 3.2+, any type of game object can be added to a group. | 3.2 |
groupID | Number | The ID of the group | 3.2 |
groupSize | Number | The size of the group after the object was removed from the group. | 3.2 |
Notes
An object can be removed from a group in two ways:
- The object gets destroyed (eventDestroyed() will also be triggered)
- The object is moved to another group
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
| ||||
Div | ||||
|
Include Page | ||||
---|---|---|---|---|
|