Offset on sounds api
This commit is contained in:
@@ -146,6 +146,10 @@ export interface ClientPlayOptions extends PlayOptions {
|
||||
// plays again from the start until it's stopped. one out of the player's range waits silently, and comes back in
|
||||
// as far into the file as it would have got
|
||||
loop?: boolean;
|
||||
// plays as if it had started this many seconds ago, for a sound that goes with something that's been going on a
|
||||
// while, like a jester that was already winding when the player came. a sound that would have finished by now
|
||||
// doesn't play. 0 when not given
|
||||
offset?: number;
|
||||
}
|
||||
|
||||
// a sound ctx.sounds.play started
|
||||
|
||||
Reference in New Issue
Block a user