This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
fire_projectile [2024/02/22 00:06] – justin | fire_projectile [2024/02/22 00:33] – justin | ||
---|---|---|---|
Line 7: | Line 7: | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | function() | + | fire_projectile(item_id, source, target, entity_id) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | | | | | | | + | |item_id| |[[String]]|Yes| |
+ | |source| |[[Entity]], | ||
+ | |target| |[[Cardinal Direction]], | ||
+ | |entity_id| |[[String]]|No| | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | function(); | + | fire_projectile(); |
</ | </ | ||
// | // | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Function** function to... | + | Use the **Fire Projectile** function to... |
</ | </ | ||
Line 28: | Line 31: | ||
<WRAP half column> | <WRAP half column> | ||
====Editor Node:==== | ====Editor Node:==== | ||
- | {{:function_node.png? | + | {{:fire_projectile_node.png? |
</ | </ | ||