selectNoPlayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| arma2 \| *([0-9]\.[0-9]{2}) * " to " | arma2 |$1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 ")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 19: Line 19:
| '''selectNoPlayer'''
| '''selectNoPlayer'''


| [[Nothing]]
|r1= [[Nothing]]


|x1= Single player:
|x1= Single player:

Revision as of 11:18, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Multiplayer:
Works only in Single Player
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Return Value:
Nothing

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.