Declaration
func GetRandomSpawnPosition(target entity<Player>) Vector3
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Target | Player | Target Player |
Return
| Type | Description |
|---|---|
| Vector3 | Random birth point coordinates. If there is no birth point that meets the conditions, a position close to (0, 0, 0) will be returned. |