mirror of
https://github.com/mwpenny/portal64-still-alive.git
synced 2024-10-20 22:47:37 -04:00
25 lines
667 B
Markdown
25 lines
667 B
Markdown
|
# @ball_catcher
|
||
|
|
||
|
A receptacle for a high energy pellet launched by a
|
||
|
[ball launcher](./ball_launcher.md)). Emits a [signal](../signals.md) when a
|
||
|
ball is caught.
|
||
|
|
||
|
## Name structure
|
||
|
|
||
|
```
|
||
|
@ball_catcher CATCH_SIGNAL_NAME
|
||
|
```
|
||
|
|
||
|
## Arguments
|
||
|
|
||
|
| Name | Description |
|
||
|
| ------------------- | ---------------------------------------------------- |
|
||
|
| `CATCH_SIGNAL_NAME` | The name of the signal to emit when a ball is caught |
|
||
|
|
||
|
## Notes
|
||
|
|
||
|
When a ball collides with a ball catcher, the catcher notifies the associated
|
||
|
launcher (so it will not update the ball) and emits the specified signal.
|
||
|
|
||
|
Only one ball can be caught.
|