ENT:Drop()📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Enter STATE_DROPPED at (roughly) the carrier's last position, tracing straight down to land it on solid ground rather than floating. A carrier killed in the air (in an aircraft, off a cliff, rocket-jumping) would otherwise leave the flag floating at head height with a 100u pickup radius nobody on the ground can reach -- it'd just sit there until the return timer. The trace runs through world + props/vehicles (but not players, and not the ex-carrier) and drops it onto whatever surface is beneath; falls back to the old head-height spot if nothing's hit (tr.Hit false, or the trace went out to the skybox).
Parameters
No parameters.
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.