Declaration
func EnableSafeZone(center Vector3, radius float, waitTime float, duration float, damage float)
go
Parameters
Input
Name | Type | Description |
---|---|---|
Center | Vector3 | The center of the safety zone |
Radius | Float | Radius of the safe zone |
Wait Time (s) | Float | Waiting time, in seconds. After the end, the safe zone will begin to shrink towards the center point |
Duration (s) | Float | The time required for the safety zone to shrink to the center point, in seconds |
Damage | Float | The amount of damage per second taken outside the safe zone |