-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(audio): batch 6 of native updates (#1002)
* feat(audio): batch 6 of native updates * Update IsAlarmPlaying.md Re-add example requested by @PsychoShock * Update IsAnyPositionalSpeechPlaying.md Re-add NativeDB Introduced date. --------- Co-authored-by: ammonia-cfx <[email protected]>
- Loading branch information
1 parent
dde8f66
commit ad206f1
Showing
13 changed files
with
76 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["0x950A154B8DAB6185", "_SET_SYNCHRONIZED_AUDIO_EVENT_POSITION_THIS_FRAME"] | ||
--- | ||
## INIT_SYNCH_SCENE_AUDIO_WITH_ENTITY | ||
|
||
```c | ||
// 0x950A154B8DAB6185 0xA17F9AB0 | ||
void INIT_SYNCH_SCENE_AUDIO_WITH_ENTITY(char* audioName, Entity entity); | ||
``` | ||
## Parameters | ||
* **audioName**: | ||
* **entity**: | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["0xC8EDE9BDBCCBA6D4"] | ||
--- | ||
## INIT_SYNCH_SCENE_AUDIO_WITH_POSITION | ||
|
||
```c | ||
// 0xC8EDE9BDBCCBA6D4 0x55A21772 | ||
void INIT_SYNCH_SCENE_AUDIO_WITH_POSITION(cs_type(AnyPtr) char* audioName, float x, float y, float z); | ||
``` | ||
## Parameters | ||
* **audioName**: | ||
* **x**: | ||
* **y**: | ||
* **z**: | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["0x30CA2EF91D15ADF8"] | ||
--- | ||
## IS_ANY_POSITIONAL_SPEECH_PLAYING | ||
|
||
```c | ||
// 0x30CA2EF91D15ADF8 | ||
cs_type(Any) BOOL IS_ANY_POSITIONAL_SPEECH_PLAYING(); | ||
``` | ||
``` | ||
NativeDB Introduced: v2189 | ||
``` | ||
## Return value | ||
Returns true if any ped-independent positional scripted speech (ie. triggered using [PLAY_AMBIENT_SPEECH_FROM_POSITION_NATIVE](#_0xED640017ED337E45)) is currently playing |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.