how these Pickup functions work

Started by Spice, Aug 02, 2015, 05:48 PM

Previous topic - Next topic

Spice

can some one tell me what is the working of these pickup functions....and in how many ways i can use them....


Pickup.StreamedToPlayer
Pickup.Alpha
Pickup.Automatic

Thijn

pickup.StreamedToPlayer( player ) will return true or false whether the pickup is streamed for the player. A pickup will be streamed when the player is nearby, and will "unstream" when going away from it.

pickup.Apha, by default 255. Will return/set the Alpha for a pickup. The lower it is, the higher the transparency.

pickup.Automatic: When set to true, and when the pickup.Quantity is set to the ammo desired, the server will handle weapon pickups automatically.

Spice