DCS func getPlayer
From DCS World Wiki - Hoggitworld.com
Envrioment: | Mission Scripting | ||
Function: | getPlayer | Added with: 1.2.4 | |
Member Of: | world | ||
Syntax: | table world.getPlayer( ) | ||
Description: | Returns a table of the single unit object in the game who's skill level is set as "Player". There is only a single player unit in a mission and in single player the user will always spawn into this unit automatically unless other client or Combined Arms slots are available.
| ||
Return Value: | table | ||
Return Example: | |||
Examples: | |||
Related Functions: | World Functions: addEventHandler, removeEventHandler, getPlayer, getAirbases, searchObjects, getMarkPanels, removeJunk
world.weather getFogThickness, setFogThickness, getFogVisibilityDistance, setFogVisibilityDistance, setFogAnimation | ||
Notes: |