bigguy345
b8fc118369
Added before and after chains to IAction
2025-04-28 07:19:59 +03:00
bigguy345
48283b9f95
Removed static modifier from ActionChain class
2025-04-28 06:52:44 +03:00
bigguy345
9b846c314d
refactored IAction.scheduleAfter and scheduleBefore to just after and before
2025-04-28 06:50:02 +03:00
bigguy345
65fef1778e
made schedule methods return IAction
2025-04-28 06:47:34 +03:00
Kam
be46caf9af
Quick Fix
2025-04-27 23:23:21 -04:00
Kam
a6665b1de8
Add a chain builder to action manager
2025-04-27 23:10:55 -04:00
bigguy345
1e249f317d
null check
2025-04-27 08:01:29 +03:00
bigguy345
3e63a9ec94
Added terminateWhen predicate for ConditionalAction
2025-04-27 07:33:50 +03:00
bigguy345
0fac6cf51e
Removed action.markDone()
2025-04-27 07:13:26 +03:00
Kam
666504e0a3
Create better Action Handling
...
- Conditional Actions
- Action Manager on Player Data
2025-04-26 20:52:08 -04:00
Kam
ce75880aba
Fix up to Dev
2025-03-13 16:52:08 -04:00
Kam
c2fa74c541
Scheduled Actions
2025-03-03 20:05:19 -05:00
bigguy345
0033413235
Added Scheduled Tasks system for NPC scripting.
...
Allows for scripting the scheduling of runnable methods in sequence within the NPC's AI
An example sequence of tasks:
1. Dashes towards player (might take 3-5 seconds, doesn't matter, task durations are dynamic so it can take as long as it needs).
2. Punches player away
3. Waits 10 ticks - Fires a ki blast
4. Teleports behind player
5. Knocks player out
2025-03-03 23:59:49 +02:00