Jump to content

Object drop


Spajk

Recommended Posts

Recently I started making a supply drop script. ( A plane flying over the map and dropping a crate)

Now, I saw many workarounds, but all of them require a player to be near the location of the crete once its dropped, but in my case, there might not be anyone near it. Is there any solution for this?

Link to comment

Wonder why do you need a client nearby to do this? You don't need anything else than createObject to make this work. Just need to have an object that responds to gravity, such as a generic box from some street. It will do everything server-side and it will work even if no one is online.

When the object has reached the ground you can make it spawn there again and so it's synchronized with all players that connect after this has happened.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...