setSpeaker: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Killzone Kid (talk | contribs) No edit summary |
||
(42 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 |= | |game1= arma3 | ||
|version1= 1.02 | |||
| | |arg= global | ||
| | |eff= local | ||
| | |gr1= Unit Identity | ||
| | |gr2= Sounds | ||
|descr= Sets the speaker of a person. | |||
| | |mp= The command needs to run on every computer with exactly the same arguments, otherwise the speaking unit could appear silent on other PCs. | ||
| | |s1= person [[setSpeaker]] speaker | ||
|p1= person: [[Object]] | |||
| | |p2= speaker: [[String]] - the used voice type, see [[Arma 3: CfgIdentities#Speakers|{{arma3}} Speakers]] | ||
|r1= [[Nothing]] | |||
| | |x1= <sqf>unit1 setSpeaker "Male02GRE";</sqf> | ||
| | |seealso= [[speaker]] [[disableConversation]] [[enableRadio]] [[enableSentences]] [[showSubtitles]] [[setIdentity]] [[setFace]] [[hasCustomFace]] | ||
}} | }} | ||
<dl class="command_description"> | |||
<dl class= | |||
< | <dt><dt> | ||
<dt | <dd class="notedate">Posted on 2014-01-12 - 15:12 UTC</dd> | ||
<dt class="note">[[User:Lou Montana|Lou Montana]]</dt> | |||
<dd class="notedate">Posted on | |||
<dt class="note"> | |||
<dd class="note"> | <dd class="note"> | ||
'''speakers available''' in | '''speakers available''' in {{arma3}} (v1.08): | ||
<table style="border: solid 0.0625em #000; box-shadow: .5em .5em .5em #888; font-size: .95em; min-width: 50% | <table style="border: solid 0.0625em #000; box-shadow: .5em .5em .5em #888; font-size: .95em; min-width: 50%"> | ||
<tr> | <tr> | ||
<th>Gender</th> | <th>Gender</th> | ||
<th>Profile setting</th> | <th>Profile setting</th> | ||
<th>US English<br | <th>US English<br>''(B) for EN-GB available''</th> | ||
<th>Greek</th> | <th>Greek</th> | ||
<th>Persian</th> | <th>Persian</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th rowspan="9" style="border-right: solid .25em blue | <th rowspan="9" style="border-right: solid .25em blue">Male</th> | ||
<td>Male01_F</td> | <td>Male01_F</td> | ||
<td>Male01ENG(B)</td> | <td>Male01ENG(B)</td> | ||
Line 130: | Line 100: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th rowspan="1" style="border-right: solid .25em pink | <th rowspan="1" style="border-right: solid .25em pink">Female</th> | ||
<td>-</td> | <td>-</td> | ||
<td>-</td> | <td>-</td> | ||
Line 136: | Line 106: | ||
<td>-</td> | <td>-</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</dd> | |||
< | <dt></dt> | ||
<dd class="notedate">Posted on 2014-11-10 - 22:07 (UTC)</dd> | |||
<dd class="notedate">Posted on | |||
<dt class="note">[[User:Deadfast|Deadfast]]</dt> | <dt class="note">[[User:Deadfast|Deadfast]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
In order to stop a unit from talking you can use: | In order to stop a unit from talking you can use: | ||
< | <sqf>_unit setSpeaker "NoVoice"</sqf> | ||
This will have no negative effect on the ability to command the unit. | This will have no negative effect on the ability to command the unit. | ||
</dd> | </dd> | ||
</dl> | </dl> | ||
Latest revision as of 10:06, 30 June 2024
Description
- Description:
- Sets the speaker of a person.
- Multiplayer:
- The command needs to run on every computer with exactly the same arguments, otherwise the speaking unit could appear silent on other PCs.
- Groups:
- Unit IdentitySounds
Syntax
- Syntax:
- person setSpeaker speaker
- Parameters:
- person: Object
- speaker: String - the used voice type, see Arma 3 Speakers
- Return Value:
- Nothing
Examples
- Example 1:
- unit1 setSpeaker "Male02GRE";
Additional Information
- See also:
- speaker disableConversation enableRadio enableSentences showSubtitles setIdentity setFace hasCustomFace
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on 2014-01-12 - 15:12 UTC
- Lou Montana
-
speakers available in Arma 3 (v1.08):
Gender Profile setting US English
(B) for EN-GB availableGreek Persian Male Male01_F Male01ENG(B) Male01GRE Male01PER Male02_F Male02ENG(B) Male02GRE Male02PER Male03_F Male03ENG(B) Male03GRE Male03PER Male04_F Male04ENG(B) Male04GRE Male01PER Male05_F Male05ENG Male05GRE Male02PER Male06_F Male06ENG Male02GRE Male03PER Male07_F Male07ENG Male03GRE Male01PER Male08_F Male08ENG Male04GRE Male02PER Male09_F Male09ENG Male01GRE Male03PER Female - - - - - Posted on 2014-11-10 - 22:07 (UTC)
- Deadfast
-
In order to stop a unit from talking you can use:
This will have no negative effect on the ability to command the unit._unit setSpeaker "NoVoice"