isPlayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(MP clarification.)
m (the -> a (better))
Line 20: Line 20:
'''Description:'''
'''Description:'''


Check if given person is the human player. It is not the same as testing object == plyaer, because in MP it tests for any player, not only for the local one.
Check if given person is a human player. It is not the same as testing object == plyaer, because in MP it tests for any player, not only for the local one.

Revision as of 19:35, 19 July 2006


isPlayer person


Operand types:

person: Object

Type of returned value:

Boolean

Compatibility:

Version 2.92 required.

Description:

Check if given person is a human player. It is not the same as testing object == plyaer, because in MP it tests for any player, not only for the local one.