| Supply Pickup
|
| Made with
|
Functional > Supply Pickup
|
| What it is
|
A health or ammo pack that comes back after it is taken
|
| In the game
|
Yes, it is exported with the map
|
A supply pickup is a health or ammo pack that belongs to the level. A player walks over it to take it; a new one appears after a while. It works with no script at all.
Placing one
- Choose Functional > Supply Pickup (click to place).
- Click where the pack should rest.
- Set its Pool, Size and Respawn Seconds in the inspector.
Inspector
| Setting
|
Type
|
Default
|
What it does
|
| Pool
|
List
|
Health
|
Health or Ammo.
|
| Size
|
List
|
Medium
|
Small, Medium or Large. A small pack refills a quarter of the maximum, a medium half, a large all of it.
|
| Respawn Seconds
|
Seconds, 1 to 120 or more
|
10
|
How long after a pack is taken the next one appears.
|
In the game
A player who is already full does not take a pack, so it stays for somebody who needs it. To a gamemode script a station's pack is an ordinary pickup: _can_collect may refuse it and _pickup_collected hears it taken. Removing one with api.despawn_pickup does not remove the station; its next pack comes back on the usual timer. See Pickups.
Related pages