User Tools

Site Tools


use_skill

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
use_skill [2024/02/05 01:38] – created justinuse_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 "Active" in the [[Stats Editor]] and the [[character]] must first have the [[skill]] assigned (e.g. via the [[Give Skill]] function) in order for this function to work.
  
 ====Signature:==== ====Signature:====
 <code python> <code python>
-use_skill()+use_skill(skill_id, character)
 </code> </code>
  
 ^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();+
 </code> </code>
 //Results:// //Results://
use_skill.1707125893.txt.gz · Last modified: 2024/02/05 01:38 by justin