Talk:Item dynamic resupply

From Valve Developer Community
Revision as of 12:40, 9 March 2006 by Giles (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The entity description for this entry needs fleshing out to be complete.

In particular, the order in which it chooses what to spawn, if it has multiple options, needs to be verified, and some further investigation would be helpful to clarify under what other criteria the entity will refuse to spawn something.

For example, if you put an item_healthkit nearby, get damaged to 90hp and then attempt to spawn an item_dynamic_resupply set to DesiredHealth 1 (using, say, a point_template), nothing will be spawned, because the healthkit that already exists could get you up to the correct health. But if you get damaged to, say, 60hp, it will spawn a new healthkit, because the pre-existing healthkit isn't enough to get you up to 100hp.

So what does "nearby" mean? In the same map? Within a certain radius? If there is a valid line of sight between the entities?

Giles 11:40, 9 Mar 2006 (PST)