This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
fire_projectile [2025/02/22 14:11] – 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 11: | Line 11: | ||
|item_id|ID of the [[item]] to fire (as defined in the [[Item Editor]]). The [[item]] must have the " | |item_id|ID of the [[item]] to fire (as defined in the [[Item Editor]]). The [[item]] must have the " | ||
|source|Source [[entity]] or [[coordinate]] from which the [[projectile]] will be fired.|[[Entity]], | |source|Source [[entity]] or [[coordinate]] from which the [[projectile]] will be fired.|[[Entity]], | ||
- | |target| |[[Entity]], | + | |target|Target [[entity]], [[coordinate]], |
- | |entity_id|Unique entity ID that the [[projectile]] will be assigned.|[[String]]|No| | + | |entity_id|Unique |
====Example: | ====Example: | ||
Line 18: | Line 18: | ||
fire_projectile(" | fire_projectile(" | ||
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> |