BIS fnc kbCreateDummy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add description and examples)
mNo edit summary
Line 5: Line 5:


|1.00|Game version=
|1.00|Game version=
|gr1 = Conversations |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 36: Line 38:
[[Category:{{Name|tkoh}}: Functions|{{uc:kbCreateDummy}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:kbCreateDummy}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:kbCreateDummy}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:kbCreateDummy}}]]
[[Category:Function Group: Conversations|{{uc:kbCreateDummy}}]]

Revision as of 16:12, 9 October 2020

Hover & click on the images for description

Description

Description:
Creates a dummy speaker (as a Game Logic). If given dummy variable has already been created, returns this one.
Execution:
call
Groups:
Conversations

Syntax

Syntax:
dummyVarName call BIS_fnc_kbCreateDummy
Parameters:
dummyVarName: String - can be anything, but if an identity from CfgIdentities the dummy will take this identity.
Return Value:
Object - dummy speaker game logic

Examples

Example 1:
private _dummySpeaker = "BIS_dummySpeaker" call BIS_fnc_kbCreateDummy; // _dummySpeaker == BIS_dummySpeaker now
Example 2:
private _dummySpeaker = "Miller" call BIS_fnc_kbCreateDummy; // given Miller is defined in CfgIdentities

Additional Information

See also:
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

Notes

Bottom Section