BIS fnc kbCreateDummy: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(30 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | |||
|game1= tkoh | |||
|version1= 1.00 | |||
| | |game2= arma3 | ||
|version2= 0.50 | |||
| | |gr1= Conversations | ||
| | |descr= Creates a dummy speaker (as a [[Game Logic]]). If given dummy variable has already been created, returns this one. | ||
| | |s1= dummyVarName call [[BIS_fnc_kbCreateDummy]] | ||
|p1= | | |p1= dummyVarName: [[String]] - can be anything, but if an identity from [[Description.ext#CfgIdentities|CfgIdentities]] the dummy will take this identity. | ||
| | |r1= [[Object]] - dummy speaker game logic | ||
|x1= < | |x1= <sqf>private _dummySpeaker = "BIS_dummySpeaker" call BIS_fnc_kbCreateDummy; // _dummySpeaker == BIS_dummySpeaker now</sqf> | ||
| | |x2= <sqf>private _dummySpeaker = "Miller" call BIS_fnc_kbCreateDummy; // given Miller is defined in CfgIdentities</sqf> | ||
|seealso= [[Conversations]] | |||
}} | }} | ||
Latest revision as of 22:35, 12 July 2022
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:
- Example 2:
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