bigguy345
2b068cbb91
typo
2025-04-28 08:19:08 +03:00
bigguy345
71bb351919
More conditional create and chain methods
2025-04-28 08:17:57 +03:00
bigguy345
aea788c77a
Removed redundant args from creation methods/constructors
2025-04-28 08:08:39 +03:00
bigguy345
01a6518e97
More conditional constructors
2025-04-28 08:01:15 +03:00
bigguy345
c405f409f3
oops
2025-04-28 07:53:21 +03:00
bigguy345
e3e99f056a
Set infinite duration to -1 instead of Integer.MAX_VALUE
2025-04-28 07:48:19 +03:00
bigguy345
52e3b49f04
Rewrote conditional action ticking logic
2025-04-28 07:41:29 +03:00
bigguy345
18f520ed80
protected constructor access
2025-04-28 07:29:42 +03:00
bigguy345
b0fabc888c
Added more create methods
2025-04-28 07:26:39 +03:00
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