Jump to content

Make Pickups radio smaller


Lestat

Recommended Posts

Posted

Is there a way to make pickups radio smaller?

It seems to be 2 meters long. Its too big in my opinion. I'm making a system in which players can drop items in their inventory, I have to put the pickup 2+ meter away so they don't get it back just after droping it.

I want player to be able to get their drops back if they want to (for example they dropped it by mistake, or maybe noone picked it in certain time), so making it so the same player who dropped can't take it its not an option.

Also I really think the radio is too big, I want it to be like 0.5 instead of 2.

Posted

It seems like there's no way to make it smaller but you can use createColSphere

Example:

x, y, z = 0, 0, 0 -- pickup coordinates 
createPickup(x, y, z, 3, 1273) -- create pickup 
col = createColSphere(x, y, z, 0.5) -- create col 
addEventHandler("onColShapeHit", col, --[[Function]]) 

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...