isPlayerControlled (VBS1)

From Bohemia Interactive Community
Jump to: navigation, search


Introduced with Virtual Battlespace 1 version 2.12
  

Click on the images for descriptions

Introduced in

Game:
Virtual Battlespace 1
Version:
2.12.14

Description

Description:
returns true if unit is controlled by a player somewhere on the network.

Syntax

Syntax:
isPlayerControlled unit
Parameters:
unit: Object
Return Value:

Examples

Example 1:
?isPlayerControlled (leader groupOne): hint "Leader is not AI"

Additional Information

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section