1. StevasaurousREX

    StevasaurousREX Naked Wanderer

    Is there a way to find the highest level of ground, I want to make a plugin that pulls minibikes out of the ground but I am not sure how to find where the ground is.
  2. StevasaurousREX

    StevasaurousREX Naked Wanderer

    I guess this isnt possible or the 7dtd part of this community is dead
  3. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    It's not widely supported right now, and I'm not sure that there are many people familiar with the code right now. We'll be trying to get more into it as support for this and other games progresses.
  4. OpenFunRus

    OpenFunRus Scavenger Plugin Developer

    Code (Text):
    Vector3 pos = position_bike;
    int maxLightValue = 10;
    float maxDistance = 10;
    int x;
    int y;
    int z;
    if(World.FindRandomSpawnPointNearPosition(position_bike, maxLightValue, out x, out y, out z, new Vector3((float)maxDistance, (float)maxDistance, (float)maxDistance), true, false)
         teleportbike(x, y, z);
        //Cant find position
    Last edited: Apr 11, 2017
    StevasaurousREX likes this.