| 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 item_spawner is triggered. It only works once, I don't think there's any multiple-use spawner entity (but remember that in deathmatch, useful stuff respawns automatically, without needing any special entities to make it happen!!). |
| 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). |