Declaration
func GetPositionNearTeammate(target entity<Player>) Vector3
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Target | Player | Target Player |
Return
| Type | Description |
|---|---|
| Vector3 | Coordinate near the target player’s teammate |
Get the position of a random teammate. If there are no teammates, return the coordinates near yourself. Avoid the position of players who are unable to stand.
func GetPositionNearTeammate(target entity<Player>) Vector3
go
| Name | Type | Description |
|---|---|---|
| Target | Player | Target Player |
| Type | Description |
|---|---|
| Vector3 | Coordinate near the target player’s teammate |