This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
use_skill [2024/02/05 01:38] – created justin | use_skill [2024/02/22 21:12] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
(WIP) | (WIP) | ||
+ | |||
+ | Triggers the usage of the specified [[skill]] for a [[character]]. If the [[character]] isn't specified, the [[skill]] will be used by the main [[player character]]. Note that the [[skill]] must be configured as " | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | use_skill() | + | use_skill(skill_id, character) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | | | | | | | + | |skill_id| |[[String]]|Yes| |
+ | |character|Defaults to the main [[player character]].|[[Entity]]|No| | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | use_skill(); | + | |
</ | </ | ||
// | // |