BIS fnc kbCreateDummy: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) - ([a-z -]+) \|x1=" to "|r1=$1 - $2 |x1=") |
||
Line 13: | Line 13: | ||
|p1= dummyVarName: [[String]] - can be anything, but if an identity from [[Description.ext#CfgIdentities|CfgIdentities]] the dummy will take this identity. | |p1= dummyVarName: [[String]] - can be anything, but if an identity from [[Description.ext#CfgIdentities|CfgIdentities]] the dummy will take this identity. | ||
| [[Object]] - dummy speaker game logic | |r1= [[Object]] - dummy speaker game logic | ||
|x1= <code>[[private]] _dummySpeaker = "BIS_dummySpeaker" [[call]] [[BIS_fnc_kbCreateDummy]]; {{cc|_dummySpeaker {{=}}{{=}} BIS_dummySpeaker now}}</code> | |x1= <code>[[private]] _dummySpeaker = "BIS_dummySpeaker" [[call]] [[BIS_fnc_kbCreateDummy]]; {{cc|_dummySpeaker {{=}}{{=}} BIS_dummySpeaker now}}</code> |
Revision as of 14:35, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Conversations
Syntax
- Syntax:
- Syntax needed
- 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