This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
fire_projectile [2025/02/09 20:03] – justin | fire_projectile [2025/02/22 14:35] (current) – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Fire Projectile====== | ======Fire Projectile====== | ||
---- | ---- | ||
- | Fires a [[projectile]] from a source [[entity]] or [[coordinate]] at a target [[entity]], [[coordinate]], | + | Fires a [[projectile]] from a source [[entity]] or [[coordinate]] at a target [[entity]], [[coordinate]], |
====Signature: | ====Signature: | ||
Line 9: | Line 9: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |item_id|ID of the [[item]] to fire (as defined in the [[Item Editor]]) The [[item]] must be configured as a [[projectile]].|[[String]]|Yes| | + | |item_id|ID of the [[item]] to fire (as defined in the [[Item Editor]]). The [[item]] must have the " |
- | |source| |[[Entity]], | + | |source|Source [[entity]] or [[coordinate]] from which the [[projectile]] will be fired.|[[Entity]], |
- | |target| |[[Entity]], | + | |target|Target [[entity]], [[coordinate]], |
- | |entity_id| |[[String]]|No| | + | |entity_id|Unique [[entity]] ID that the [[projectile]] will be assigned.|[[String]]|No| |
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
+ | fire_projectile(" | ||
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> |