FutureProg functions
canhearnoise
canhearnoise overload 1
Boolean canhearnoise(Character listener, Perceivable source, Number volume, Number proximity)
Available in
- computer function
- computer program
- standard futureprog
Uses the engine's native audibility, local Hearing Profile and GenericListenCheck rule to decide whether a received sound is noticed.
| Parameter | Type | Description |
|---|---|---|
listener |
Character |
The character deciding whether the sound was heard. |
source |
Perceivable |
The source of the sound. |
volume |
Number |
The received AudioVolume value from the CharacterNoiseReceived event. |
proximity |
Number |
The native Proximity numeric value from the CharacterNoiseReceived event. |