isPlayerControlled (VBS1)

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Virtual Battlespace 1 version 2.12.14

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:
-

Notes

Notes


Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section