Item(entity)
From Blood Wiki
(Difference between revisions)
m |
m |
||
(One intermediate revision by one user not shown) | |||
Line 20: | Line 20: | ||
| This entity will be triggered when item is picked. Also this entity will be a start position for circle spawn move. | | This entity will be triggered when item is picked. Also this entity will be a start position for circle spawn move. | ||
|- | |- | ||
− | | Target | + | | Target parms |
| targetparm | | targetparm | ||
| Instructions for trigger event; Type "nocall" here to disable trigger event. | | Instructions for trigger event; Type "nocall" here to disable trigger event. | ||
Line 27: | Line 27: | ||
| targetname | | targetname | ||
| If set, item becomes hidden and got spawned when triggered. | | If set, item becomes hidden and got spawned when triggered. | ||
+ | |- | ||
+ | | Classname | ||
+ | | classname | ||
+ | | Set's a particular entity class. | ||
+ | |- | ||
+ | | SaveId | ||
+ | | sid | ||
+ | | Must be set. A SaveID used to keep item state (hidden, spawned, picked). | ||
{{entity fields end}} | {{entity fields end}} | ||
[[Category:Entity definitions]] | [[Category:Entity definitions]] | ||
[[Category:Items]] | [[Category:Items]] |
Latest revision as of 23:45, 15 May 2014
Blood Omnicide item archetype is used to create items such as: artifacts, spell cards, weapons, powerups, tokens etc.
[edit] Behavior
When item is targeted by another entity, it becomes hidden and spawns itself when called.
To make item animate using circle spawn move (as it spawns from chest), target it to some entity, then it will start it's move from that entity center (so you can target bmodels).
Item will trigger it's targets once picked.
[edit] Call parameters
Items have no specific parameters.
[edit] Keys
Key | Description | Default value |
---|---|---|
Target | target | This entity will be triggered when item is picked. Also this entity will be a start position for circle spawn move. |
Target parms | targetparm | Instructions for trigger event; Type "nocall" here to disable trigger event. |
Targetname | targetname | If set, item becomes hidden and got spawned when triggered. |
Classname | classname | Set's a particular entity class. |
SaveId | sid | Must be set. A SaveID used to keep item state (hidden, spawned, picked). |