function PlaySoundByStrRef (int nStrRef, int nRunAsAction = TRUE ) This will play a sound that is associated with a stringRef, it will be a mono sound from the location of the object running the command. if nRunAsAction is off then the sound is forced to play intantly.
* Return type: void
* Include file: nwscriptdefn
| Attributes | Values |
|---|
| rdfs:label
| |
| rdfs:comment
| - function PlaySoundByStrRef (int nStrRef, int nRunAsAction = TRUE ) This will play a sound that is associated with a stringRef, it will be a mono sound from the location of the object running the command. if nRunAsAction is off then the sound is forced to play intantly.
* Return type: void
* Include file: nwscriptdefn
- The PlaySoundByStrRef() NWScript command causes the (monophonic) sound resource associated with a talk table entry — identified by its StringRef as an integer — to be played from the location of the object running the command (OBJECT_SELF). This can be assigned with <a href="/mediawiki/AssignCommand" title="AssignCommand">AssignCommand</a>() if a different object than the one running the script is supposed to play the sound.
|
| dcterms:subject
| |
| dbkwik:nwn2/proper...iPageUsesTemplate
| |
| returns
| |
| Name
| |
| param
| - int nRunAsAction
- int nStrRef
|
| param2default
| |
| param2desc
| - If set to FALSE, the sound will be played instantly, rather than being placed in the action queue.
|
| param1desc
| - The StringRef of the talk table entry to which the desired sound is associated.
|
| dbkwik:nwn/property/wikiPageUsesTemplate
| |
| abstract
| - function PlaySoundByStrRef (int nStrRef, int nRunAsAction = TRUE ) This will play a sound that is associated with a stringRef, it will be a mono sound from the location of the object running the command. if nRunAsAction is off then the sound is forced to play intantly.
* Return type: void
* Include file: nwscriptdefn
- The PlaySoundByStrRef() NWScript command causes the (monophonic) sound resource associated with a talk table entry — identified by its StringRef as an integer — to be played from the location of the object running the command (OBJECT_SELF). This can be assigned with <a href="/mediawiki/AssignCommand" title="AssignCommand">AssignCommand</a>() if a different object than the one running the script is supposed to play the sound.
|