Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
droptofloor
From Quake Wiki
Contents
Syntax:
float droptofloor(float yaw, float dist)
Tries to "drop" an entity down up to 256 units in a single frame, as if it had fallen due to physics.
Parameters:
yaw
- Unused?dist
- Unused?
Returns:
- Returns TRUE if the entity landed on the ground and FALSE if it was still in the air.
Other Details:
Note the 256 unit limitation. Typically droptofloor is either to pre-place items and monsters on the ground after a map has loaded but if an entity is over 256 units from the ground, droptofloor will return false.