kbWasSaid: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 44: | Line 44: | ||
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | [[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 11:15, 2 November 2011
Description
- Description:
- Check if given item was said by person to someone.
- Groups:
- Uncategorised
Syntax
- Syntax:
- person kbWasSaid [receiver,topic,sentence id,max. age]
- Parameters:
- person: Person - who said the item
- [receiver,topic,sentence id,max. age]: Array
- receiver: Person - receiver of the sentence
- topic: String - name of the topic used in kbAddTopic
- max. age: Number - time in seconds. kbWasSaid will check whether the sentence was said in last max. age seconds
- Return Value:
- Boolean
Examples
- Example 1:
myPlayer kbWasSaid [myReceiver, "myTopic", "mySentenceID", 3];
Additional Information
- See also:
- See also needed
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