smallmodel
e37a5f4d06
Add "isBot" to check whether or not the player is a bot
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 14s
2025-02-02 21:02:06 +01:00
smallmodel
1eb7458af9
Add event_subscribe and event_unsubscribe scripting commands
2025-02-02 19:14:07 +01:00
smallmodel
b16aaa5adc
Use a scripted object to store the C file handle for file functions
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 15s
2025-01-01 12:40:59 +01:00
smallmodel
acf2dd0ad1
Use an integer when waiting
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 26s
Since the expected time is in milliseconds, it's best to use an integer instead. Floating-point numbers lose precision as they get larger, especially when the level's current time is long (e.g., over 24 hours). This loss of precision could cause scripts to wait unsuccessfully with small numbers, causing unexpected behaviors
2024-12-13 22:17:43 +01:00
smallmodel
808916029e
Formatted scriptthread source file
2024-01-29 00:03:51 +01:00
smallmodel
220c82954c
Don't execute script thread now if paused
2023-10-30 22:46:50 +01:00
smallmodel
f96b606a1a
Fixed ScriptThread timing
2023-10-27 21:02:18 +02:00
smallmodel
843b49d56b
Allow operator new and operator delete to be called when debugging memory
2023-08-19 02:19:01 +02:00
smallmodel
860c9b33ef
Made AddObjective and SetCurrentObjective static
2023-08-14 15:02:25 +02:00
smallmodel
161f7e3313
Fixed wrong current objective
...
Added support for objective location per team
2023-08-14 02:11:26 +02:00
smallmodel
8aa6f29c4c
Added all script functions from mohaas/mohaab
2023-08-12 14:02:43 +02:00
smallmodel
cea2c178b5
Fixed header
2023-08-12 03:05:06 +02:00
smallmodel
bf960f6f32
Cleaned up ScriptThread
2023-08-12 02:40:30 +02:00
OM
e4fa0fff3a
Renamed **game** to **fgame**
2023-06-15 23:44:02 +02:00