Jump to content

IsPlayer

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: IsPlayer
Function Description: Returns boolean based on if the unit supplied has a playername or not.
File Location: cmm.netFunctions.lua
Syntax: CMM.IsPlayer( table Unt )
Return Value: boolean
Parameters: Name Description
UntUnit Object to check if it is a player
Example: CMM.IsPlayer(<UnitTable>)
Example Description: Returns boolean if playername is not nil
Related Functions:
Notes: