kbTell: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Add information about locality) |
Killzone Kid (talk | contribs) (note) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Make the person tell to the receiver the sentence. See [[Conversations]] for more details. |Description= | | Make the person tell to the receiver the sentence. See [[Conversations]] for more details.<br><br> | ||
{{Important| If one needs several units talking simultaneously in multiplayer, make them use different channels. If unit is transmitting on a channel another unit cannot use the same channel and has to wait until channel is free. Locally this is not a problem, but for remote listener this will be obvious. Custom channels from 1 to 10 are considered as 1 channel.}} |Description= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 00:49, 30 December 2019
Description
- Description:
- Make the person tell to the receiver the sentence. See Conversations for more details.
- Groups:
- Uncategorised
Syntax
- Syntax:
- person kbTell [receiver, topicName, sentenceClass(, argumentArray1, argumentArray2, (…), forceRadio)]
- Parameters:
- person: Object
- [receiver, topicName, sentenceClass, argumentArray1, argumentArray2, (…), forceRadio]: Array
- receiver: Object
- topicName: String
- sentenceClass: String
- argumentArray1toN (Optional): Array - [argumentName, argumentValue, argumentText, argumentSpeech]:
- forceRadio (Optional): Boolean, Number or String (last value of the array)
- Return Value:
- Nothing
Examples
- Example 1:
player kbTell [BIS_HQ, "myTopic", "playerSentence1"];
- Example 2:
player kbTell [ BIS_HQ, // to "Airstrike", // topic "AirstrikeRequest", // sentence ["Team", {}, "Anvil", ["Anvil"]], // argument 1 ["Location", {}, "Strelka", ["Strelka"]], // argument 2 true]; // use radio // bikb reference: /* class AirstrikeRequest { text = "%team requesting close air support at grid %location "; speech[] = { %Team, RequestingCloseAirSupportAtGrid, %Location }; class Arguments { class Team { type = "simple"; }; class Location { type = "simple"; }; }; }; */
Additional Information
- See also:
- ConversationskbAddTopickbHasTopickbReactkbRemoveTopickbAddDatabasekbAddDatabaseTargetsFSMFSM Editor
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