Files
2026-10-15 16:30:44 +08:00

61 lines
3.4 KiB
Plaintext

<1391> <l1>perform_check</l>(check: <l2>CheckType</l>, a: <3/>, b: <4/>)
<1392> <l1>perform_operation</l>(operation: <l2>Operation</l>, a: <3/>, b: <4/>)
<1393> enum <b>CheckType</b>: <l1>🔗</l>
<1394> <l1>CheckType</l> <b>CHECK_EQUAL</b> = <2/>
<1395> Equality Check.
<1396> <l1>CheckType</l> <b>CHECK_LESS_THAN</b> = <2/>
<1397> Less Than Check.
<1398> <l1>CheckType</l> <b>CHECK_LESS_THAN_OR_EQUAL</b> = <2/>
<1399> Less Than or Equal To Check.
<1400> <l1>CheckType</l> <b>CHECK_GREATER_THAN</b> = <2/>
<1401> Greater Than Check.
<1402> <l1>CheckType</l> <b>CHECK_GREATER_THAN_OR_EQUAL</b> = <2/>
<1403> Greater Than or Equal To Check
<1404> <l1>CheckType</l> <b>CHECK_NOT_EQUAL</b> = <2/>
<1405> Inequality Check.
<1406> enum <b>Operation</b>: <l1>🔗</l>
<1407> <l1>Operation</l> <b>OPERATION_NONE</b> = <2/>
<1408> No operation.
<1409> <l1>Operation</l> <b>OPERATION_ADDITION</b> = <2/>
<1410> Arithmetic addition.
<1411> <l1>Operation</l> <b>OPERATION_SUBTRACTION</b> = <2/>
<1412> Arithmetic subtraction.
<1413> <l1>Operation</l> <b>OPERATION_MULTIPLICATION</b> = <2/>
<1414> Arithmetic multiplication.
<1415> <l1>Operation</l> <b>OPERATION_DIVISION</b> = <2/>
<1416> Arithmetic division.
<1417> <l1>Operation</l> <b>OPERATION_MODULO</b> = <2/>
<1418> Produces the remainder of an integer division.
<1419> <l1>Operation</l> <b>OPERATION_POWER</b> = <2/>
<1420> Multiply <1/> by itself <2/> times.
<1421> <l1>Operation</l> <b>OPERATION_BIT_SHIFT_LEFT</b> = <2/>
<1422> Bitwise left shift.
<1423> <l1>Operation</l> <b>OPERATION_BIT_SHIFT_RIGHT</b> = <2/>
<1424> Bitwise right shift.
<1425> <l1>Operation</l> <b>OPERATION_BIT_AND</b> = <2/>
<1426> Bitwise AND.
<1427> <l1>Operation</l> <b>OPERATION_BIT_OR</b> = <2/>
<1428> Bitwise OR.
<1429> <l1>Operation</l> <b>OPERATION_BIT_XOR</b> = <2/>
<1430> Bitwise XOR.
<1431> <1/> <b>decorate_output_var</b>(variable: <2/>) <3/> <l4>🔗</l>
<1432> Just like <l1>decorate_var</l>, produces a string with a <l2>Blackboard</l> variable name that is formatted for display, and also adds an additional symbol to indicate that the variable is used as an output.
<1433> <1/> <b>decorate_var</b>(variable: <2/>) <3/> <l4>🔗</l>
<1434> Produces a string with a <l1>Blackboard</l> variable name that is formatted for display or console output.
<1435> <1/> <b>get_check_operator_string</b>(check: <l2>CheckType</l>) <3/> <l4>🔗</l>
<1436> Returns an operator string for a <l1>CheckType</l> enum value. For example, <l2>CHECK_EQUAL</l> returns “==”.
<1437> <1/> <b>get_operation_string</b>(operation: <l2>Operation</l>) <3/> <l4>🔗</l>
<1438> Returns a string representation of an <l1>Operation</l> enum value.
<1439> <1/> <b>get_status_name</b>(status: <2/>) <3/> <l4>🔗</l>
<1440> Returns a name of a <l1>BTTask</l> status code.
<1441> <1/> <b>get_task_icon</b>(class_or_script_path: <2/>) <3/> <l4>🔗</l>
<1442> Returns the icon texture associated with a task based on its class name or script resource path.
<1443> <1/> <b>perform_check</b>(check: <l2>CheckType</l>, a: <3/>, b: <4/>) <l5>🔗</l>
<1444> Performs a <1/> on two values, <2/> and <3/>, and returns <4/> if the check passes.
<1445> <1/> <b>perform_operation</b>(operation: <l2>Operation</l>, a: <3/>, b: <4/>) <l5>🔗</l>
<1446> Performs an <1/> on two values, <2/> and <3/>, and returns the result.
<1447> Getting started
<1448> Behavior Trees
<1449> Hierarchical State MachineS
<1450> Class reference
<1451> LimboAI 1.0 documentation