| Classnames: | item_spawner |
| Purpose: | Generating artifacts. |
| H2 Code: | artifact.hc |
| fields required: | origin, targetname, a spawning field |
| Actually spawns mana and artifacts, not items. The item is spawned when the targetname is triggered. I've only tested spawning triggered by a button, but I'd expect it to work quite generally. I've only gotten one item out of each spawner, don't know if there's any multiple-use dispenser entity. |
| origin | Value is a triple of number, location of item. Your editor should manage this visually, automatically. |
| targetname | Value is a name, targetted by some trigger |
| a spawning field | One of the fields listed here, indicating what to spawn. |
|
For a button to trigger the creation of a torch, we can have
the following two entities:
When the button is pushed, the torch appears at the location of the spawner (it seems to be tossed up, then settle down to the floor). |