BIS fnc kbSkip: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>")
 
(7 intermediate revisions by the same user not shown)
Line 11: Line 11:
|descr= Skip a conversation started with [[BIS_fnc_kbTell]]. Currently played sentence will be finished.
|descr= Skip a conversation started with [[BIS_fnc_kbTell]]. Currently played sentence will be finished.


|s1=[topicName, mission, wait] call [[BIS_fnc_kbSkip]]
|s1= [topicName, mission, wait] call [[BIS_fnc_kbSkip]]


|p1= topicName: [[String]] or [[Object]] - either topic name or the person currently talking
|p1= topicName: [[String]] or [[Object]] - either topic name or the person currently talking
Line 21: Line 21:
|r1= [[Boolean]] or [[Number]]
|r1= [[Boolean]] or [[Number]]


|x1= <code>["topic1", "currentMission"] [[call]] [[BIS_fnc_kbSkip]];</code>
|x1= <sqf>["topic1", "currentMission"] call BIS_fnc_kbSkip;</sqf>


|x2= <code>[<nowiki/>[[player]]] [[call]] [[BIS_fnc_kbSkip]];</code>
|x2= <sqf>[player] call BIS_fnc_kbSkip;</sqf>


|seealso= [[BIS_fnc_kbTell]], [[Conversations]], [[:Category:Function Group: Conversations|Function Group: Conversations]]
|seealso= [[BIS_fnc_kbTell]] [[Conversations]] [[:Category:Function Group: Conversations|Function Group: Conversations]]
}}
}}

Latest revision as of 17:00, 13 July 2022

Hover & click on the images for description

Description

Description:
Skip a conversation started with BIS_fnc_kbTell. Currently played sentence will be finished.
Execution:
call
Groups:
Conversations

Syntax

Syntax:
[topicName, mission, wait] call BIS_fnc_kbSkip
Parameters:
topicName: String or Object - either topic name or the person currently talking
mission: String - (Optional, default missionName)
wait: Boolean or Array or Number
Return Value:
Boolean or Number

Examples

Example 1:
["topic1", "currentMission"] call BIS_fnc_kbSkip;
Example 2:
[player] call BIS_fnc_kbSkip;

Additional Information

See also:
BIS_fnc_kbTell Conversations Function Group: Conversations

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