We've moved! Join us as we continue development on our new site at umod.org!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Request OnTimedEvent hook (Rust)

Discussion in 'Feature Suggestions' started by CatMeat, Jan 21, 2018.

  1. to hook the timed events: such as cargo_plane, patrolhelicopter and bradleyapc events

    primarily because
    Code:
    void OnAirdrop(CargoPlane plane, Vector3 dropPosition)
    does tell me if it was caused by server timed event vs. supply signal thrown vs console `spawn cargo`.

    Something like this (or anything similar):
    Code:
    void OnTimedEvent(BaseEntity entity, Vector3 dropPosition)
    {
      if (entity is CargoPlane)
      {
        // this is the event and not a supply signal
      }
    }