kbReact: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2") |
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters") |
||
Line 55: | Line 55: | ||
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category: | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command Group: Conversations|{{uc:{{PAGENAME}}}}]] | [[Category:Command Group: Conversations|{{uc:{{PAGENAME}}}}]] |
Revision as of 12:52, 6 April 2020
Description
- Description:
- Pass a non-verbal communication to the receiver. This command does as if the sentence was said and triggers the reaction scripts (AI FSM or player's conversation EH). See Conversations for more details.
- Groups:
- Uncategorised
Syntax
- Syntax:
- person kbReact [receiver, topicName, sentenceID(, argumentArray1, argumentArray2, …)]
- Parameters:
- person: Object
- [receiver, topicName, sentenceID, argumentArray1, argumentArray2, …]: Array
- receiver: Object
- topicName: String
- sentenceID: String
- argumentArray1toN (Optional): Array - [argumentName, argumentValue, argumentText, argumentSpeech]:
- Return Value:
- Nothing
Examples
- Example 1:
// will trigger as if unit1 said the sentence (via kbTell) // unit2's FSM will react accordingly. unit1 kbReact [unit2, "topicName", "speech1"];
Additional Information
- See also:
- ConversationskbAddTopickbHasTopickbTellkbWasSaidkbRemoveTopickbAddDatabasekbAddDatabaseTargetsFSMFSM 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