setSpeaker: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
Line 24: | Line 24: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>unit1 setSpeaker "Male02GRE";</sqf> | ||
|seealso= [[speaker]] [[disableConversation]] [[enableRadio]] [[enableSentences]] [[showSubtitles]] [[setIdentity]] [[setFace]] | |seealso= [[speaker]] [[disableConversation]] [[enableRadio]] [[enableSentences]] [[showSubtitles]] [[setIdentity]] [[setFace]] |
Revision as of 10:24, 13 May 2022
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
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 January 12, 2014 - 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 November 10, 2014 - 22:07 (UTC)
- Deadfast
-
In order to stop a unit from talking you can use:
_unit setSpeaker "NoVoice"
This will have no negative effect on the ability to command the unit.