Serhii Snitsaruk
390d4a9385
New and improved workaround for the missing ClassDB::add_virtual_method
2024-01-17 22:46:48 +01:00
Serhii Snitsaruk
c63785b5bc
CallMethod: Use array of BBVariant to specify arguments
...
This allows specifying variables on the blackboard as arguments in additions to raw values.
WARNING: Breaks compatibility if you are using CallMethod tasks. CallMethod arguments in existing trees will need to be reassigned!
2024-01-15 21:51:17 +01:00
Serhii Snitsaruk
184361d460
CallMethod: Store result on the blackboard
2024-01-15 21:32:39 +01:00
Serhii Snitsaruk
f546e285b7
Refactor and clean up the code
2024-01-13 17:10:42 +01:00
Serhii Snitsaruk
eec085278a
Fix name generation broken in module
2024-01-13 13:35:16 +01:00
Serhii Snitsaruk
e6c87be723
Fix various bugs and unit tests
2024-01-11 00:31:42 +01:00
Serhii Snitsaruk
0e37d3dfa3
Fix module compilation
2024-01-10 22:45:42 +01:00
Serhii Snitsaruk
966199e8dc
Fix: Weird name showing on the tasks
2024-01-09 22:06:56 +01:00
Serhii Snitsaruk
a9a38bbffb
Port debugger
2024-01-09 21:47:22 +01:00
Serhii Snitsaruk
59a8ab97d8
chore: Rename macro LSNAME to LW_NAME
2024-01-09 13:42:54 +01:00
Serhii Snitsaruk
9645baeb30
Port LimboAI plugin and editor
2024-01-09 13:34:24 +01:00
Serhii Snitsaruk
4f97c1bd24
Post the rest of the BT tasks (massive changes)
2024-01-07 00:47:46 +01:00
Serhii Snitsaruk
2c4e343a48
Port the first core classes to get started
...
Ported: Blackboard, BTTask, BTAction, BTComment, BTDecorator, BTComposite, BTDecorator, LimboStringNames, LimboTaskDB, LimboUtility
2024-01-06 21:04:34 +01:00
Serhii Snitsaruk
22bfb9e3ab
Improve BTCallMethod
...
- Fix `include_delta` not initialized for some reason
- Add additional tests
- Group argument properties
- Improve name generation
2023-12-28 14:26:39 +01:00
Wilson E. Alvarez
ab311c5770
Allow BTCallMethod to include its delta as an argument
2023-12-27 19:46:19 -05:00
Serhii Snitsaruk
71909648b7
Add "inline" optimizations
2023-11-22 13:41:28 +01:00
Serhii Snitsaruk
60012d984b
Fix drag & drop position in the same branch
...
Also, refactor get_child_index() into get_index().
2023-11-22 13:05:55 +01:00
Serhii Snitsaruk
caf1ff86b0
SetAgentProperty: Operation feature
2023-11-20 15:02:18 +01:00
Serhii Snitsaruk
c48eeef081
BTSetVar: Cover operations in unit tests & fix bugs
2023-11-15 16:35:56 +01:00
Serhii Snitsaruk
554ae5a165
Update class docs and refactor SetVar enums
2023-11-15 15:40:07 +01:00
Serhii Snitsaruk
1ac24e67bb
BTSetVar: Specify operation to be performed with assignment
2023-11-15 14:45:10 +01:00
Serhii Snitsaruk
166cc8b1d9
Rename BTTask::cancel() to abort() and expose it.
2023-10-26 16:26:10 +02:00
Serhii Snitsaruk
b5a44c0807
Fix BTProbabilitySelector showing probability for comments
2023-09-26 16:28:47 +02:00
Serhii Snitsaruk
1df821fdfa
Allow editing weight as percent in Probability popup
2023-09-25 22:36:37 +02:00
Serhii Snitsaruk
52a70fdee5
Add editor support for BTProbabilitySelector
2023-09-25 18:07:26 +02:00
Serhii Snitsaruk
32cbce6b80
Add abort_on_failure policy to BTProbabilitySelector
2023-09-24 16:45:10 +02:00
Serhii Snitsaruk
55e0b7404c
Add BTProbabilitySelector class
2023-09-24 14:06:09 +02:00
Serhii Snitsaruk
c94073fb39
Move BTCallMethod to Utility category
2023-09-20 10:40:16 +02:00
Serhii Snitsaruk
efe693347e
Refactor to return enum instead of int in task methods
2023-09-19 15:29:29 +02:00
Serhii Snitsaruk
50bcbcf616
Promote TaskStatus to named enum
2023-09-19 15:29:29 +02:00
Serhii Snitsaruk
427de50ea1
Fix exposed methods missing arguments
2023-09-12 09:46:10 +02:00
Serhii Snitsaruk
e1604fab67
Fix BTWaitTicks counting prematurely
2023-09-08 11:19:55 +02:00
Serhii Snitsaruk
198954e45f
Fix BTSetAgentProperty wrong error message
2023-09-07 12:13:31 +02:00
Serhii Snitsaruk
fe81b90dc1
Allow objects in BBNode
2023-09-05 11:00:58 +02:00
Serhii Snitsaruk
fe551e0299
Fix BTSetVar succeeding and setting variable to null when value parameter doesn't exist on the Blackboard
2023-09-02 14:16:52 +02:00
Serhii Snitsaruk
a07654394b
Fix BTCallMethod incompatibility with .NET glue
2023-08-28 19:24:55 +02:00
Serhii Snitsaruk
25246a1c77
Reorganize task categories
2023-08-28 13:22:23 +02:00
Serhii Snitsaruk
2ffcbf0565
Add `LimboTaskDB` to handle task categories and scanning user tasks
2023-08-25 17:32:46 +02:00
Serhii Snitsaruk
3f673c6865
Improve BTComment
...
Warn user about having comment as root task or having other tasks as children
2023-08-19 12:39:51 +02:00
Serhii Snitsaruk
0ae2b6869a
Don't count BTComment tasks for configuration warnings
2023-08-19 12:20:18 +02:00
Serhii Snitsaruk
a717a3ed8f
Add BTComment task
2023-08-18 21:38:28 +02:00
Serhii Snitsaruk
13f5eb1f71
Reorganize BT tasks
2023-08-15 17:49:13 +02:00