player leaves||doc135785

September 20, 2022

Format

 Team:leaveEntity(entity) 
  • The class to which the function belongs:Team

Description

Remove party members from the party.


Precautions

  • Before the entity object is removed from the team, make sure that the entity object is currently in the team, otherwise there will be an error.

Parameters

Variable name type Description
entity Entity team member


Code Samples


team:leaveEntity(entity)