selectNoPlayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 34: Line 34:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
[[player|Player]] returns [[objNull]] after this command has been used. It also has at least the following side effects: [[closeDialog]] won't work anymore and onKeyDown event handlers cease to detect the ESC key. In order to get things back to normal a new player object has to be set with [[selectPlayer]]. This also works if the new player object is [[objNull]].
[[player|Player]] returns [[objNull]] after this command has been used. It also has at least the following side effects: [[closeDialog]] won't work anymore and onKeyDown event handlers cease to detect the ESC key. In order to get things back to normal a new player object has to be set with [[selectPlayer]]. Using [[objNull]] won't cut it in this case.
--[[User:Worldeater|Worldeater]] 09:48, 15 October 2010 (CEST)
--[[User:Worldeater|Worldeater]] 09:48, 15 October 2010 (CEST)
<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 10:21, 15 October 2010

Hover & click on the images for description

Description

Description:
Switch player to no unit.
Groups:
Uncategorised

Syntax

Syntax:
selectNoPlayer
Return Value:
Nothing

Examples

Example 1:
(example)

Additional Information

See also:
selectPlayer

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

Player returns objNull after this command has been used. It also has at least the following side effects: closeDialog won't work anymore and onKeyDown event handlers cease to detect the ESC key. In order to get things back to normal a new player object has to be set with selectPlayer. Using objNull won't cut it in this case. --Worldeater 09:48, 15 October 2010 (CEST)

Bottom Section