selectNoPlayer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= * )+" to "") |
Lou Montana (talk | contribs) m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "") |
||
Line 33: | Line 33: | ||
<dl class='command_description'> | <dl class='command_description'> | ||
<dd class="notedate">Posted 09:48, 15 October 2010 (CEST)</dd> | <dd class="notedate">Posted 09:48, 15 October 2010 (CEST)</dd> | ||
<dt class="note">[[User:Worldeater|Worldeater]] </dt> | <dt class="note">[[User:Worldeater|Worldeater]] </dt> | ||
Line 39: | Line 38: | ||
[[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. | [[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. | ||
</dd> | </dd> | ||
</dl> | </dl> | ||
Revision as of 00:42, 6 April 2021
Description
- Description:
- Description needed
- Multiplayer:
- Works only in Single Player
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
- Single player:
selectNoPlayer; hint str player; //<NULL-object>
Rough multiplayer emulation:_noPlayer = createGroup sideLogic createUnit [ "Logic", [0,0,1000], [], 0, "NONE" ]; selectPlayer _noPlayer; hint str player; //L Charlie 4-3:1 (KK)
Additional Information
- See also:
- See also needed
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
- Posted 09:48, 15 October 2010 (CEST)
- Worldeater
- 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.