kbTell
Jump to navigation
Jump to search
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, [argumentName, argumentValue, argumentText, argumentSpeech], (…) , forceRadio]
- Parameters:
- person: Object
- [receiver, TopicName, SentenceClass, [argumentName, argumentValue, argumentText, argumentSpeech], ...,forceRadio]: Array
- receiver: Object
- topicName: String
- sentenceClass: String
- argumentName: String
- argumentValue: Code
- argumentText: String
- argumentSpeech: Array of Strings - each string is an already defined word in configs.
- forceRadio (optional): Boolean, Number or String
- Return Value:
- Nothing
Examples
- Example 1:
// In Config file class CfgIdentities { class SSMHQ { name = $STR_DN_WARFARE_HQ_BASE_UNFOLDED; face = "Face97"; glasses = "None"; speaker = "MaleA0EN"; pitch = 1.0; }; }; // IN BIKB class Sentences { 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"; }; }; }; }; class Arguments {}; class Special {}; startWithVocal[] = {}; startWithConsonant[] = {}; // In Script file BIS_SSM_HQWEST = (createGroup west) createUnit ["Logic", [10,10,1000], [], 0, "NONE"];//Game Logic as HQ BIS_SSM_HQWEST setGroupId ["Headquarters", "SIX"]; BIS_SSM_HQWEST setIdentity "SSMHQ_EN"; player kbAddtopic ["Airstrike", BIKB]; BIS_SSM_HQWEST kbAddtopic ["Airstrike", BIKB]; player kbTell [BIS_SSM_HQWEST, "Airstrike", "AirstrikeRequest", ["Team", {}, "Anvil", ["Anvil"]], ["Location", {}, "Strelka", ["Strelka"]], true];
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
Notes
- Posted on may 02, 2010 - 13:33 GMT+1
- Lou Montana
- Jezuro's helping topic on BIforum : link