BIS fnc kbCreateDummy: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *tkoh * * *\| *([0-1]\.[0-9]{2}) * " to "|game1= tkoh |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - " \[\[Category:\{\{Name|[a-z0-9]+\}\}: Functions\|\{\{uc:[a-zA-Z0-9]+\}\}\]\]" to "") |
||
Line 23: | Line 23: | ||
|seealso= [[Conversations]] | |seealso= [[Conversations]] | ||
}} | }} | ||
|| | |||
Revision as of 23:02, 16 June 2021
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
||