smallmodel
|
4695932ea1
|
Added StoppedNotify()
This fixes scripts waiting for another executing script which fixes Actor being stuck on some animations
|
2023-11-01 17:31:46 +01:00 |
|
smallmodel
|
7fe7a12167
|
In CreateThreadInternal and CreateScriptInternal, use GetScriptClass() directly from ScriptThread
|
2023-11-01 16:53:31 +01:00 |
|
smallmodel
|
f9487b0ba3
|
Ignore CR in source line
|
2023-11-01 16:53:09 +01:00 |
|
smallmodel
|
7c5c34741c
|
Added more script trace and initialize state to STATE_EXECUTION in ScriptVM constructor
|
2023-11-01 16:52:30 +01:00 |
|
smallmodel
|
d09459f4bf
|
Made Unpause() more explicit
|
2023-10-31 23:24:11 +01:00 |
|
smallmodel
|
c0c6598151
|
Actor::WeaponSound() was not properly working
|
2023-10-31 23:23:29 +01:00 |
|
smallmodel
|
f52fcc6f0e
|
Process the parent of each entity correctly
|
2023-10-31 23:22:43 +01:00 |
|
smallmodel
|
2e9ef64bd2
|
g_timescripts misspell
|
2023-10-31 23:21:55 +01:00 |
|
smallmodel
|
ff3ee39830
|
Fixed field name not showing in the exception message
|
2023-10-31 20:39:28 +01:00 |
|
smallmodel
|
abd757f3bc
|
Actor health must be above to 0 for NPC to count
|
2023-10-30 23:01:43 +01:00 |
|
smallmodel
|
c741591a36
|
Syntax clarity
|
2023-10-30 23:00:21 +01:00 |
|
smallmodel
|
78c481d725
|
Added g_shownpc support
|
2023-10-30 23:00:07 +01:00 |
|
smallmodel
|
b2ece37819
|
Added G_ClientDrawTags()
|
2023-10-30 22:59:39 +01:00 |
|
smallmodel
|
a557b29ecf
|
Removed useless SetDirty() call in ScriptMaster::SetTime()
|
2023-10-30 22:59:25 +01:00 |
|
smallmodel
|
1184843318
|
Set dirty timer in SetTime()
|
2023-10-30 22:59:04 +01:00 |
|
smallmodel
|
dd1f8bd92a
|
Compare with STATE_RUNNING instead
|
2023-10-30 22:46:59 +01:00 |
|
smallmodel
|
220c82954c
|
Don't execute script thread now if paused
|
2023-10-30 22:46:50 +01:00 |
|
smallmodel
|
8879bacb1d
|
Fixed Think_Curious() and LookAtCuriosity() small mistakes
|
2023-10-30 22:04:09 +01:00 |
|
smallmodel
|
5824022745
|
Added ScriptRemove
|
2023-10-30 22:03:37 +01:00 |
|
smallmodel
|
3ecb5bd06a
|
Fixed WaitExecuteThreadInternal() waiting on the group instead of the thread
|
2023-10-30 21:59:47 +01:00 |
|
smallmodel
|
7de31a776b
|
Added a check to avoid freeing a model that is used more than once
|
2023-10-29 20:40:37 +01:00 |
|
smallmodel
|
503320d13f
|
Added modelOnly parameter to CG_ProcessConfigString + added votes
|
2023-10-29 20:40:07 +01:00 |
|
smallmodel
|
bd263c5d22
|
Added condition to check for null model/animation and for out of bound animnum in TIKI_Frame_Commands()
|
2023-10-29 20:21:58 +01:00 |
|
smallmodel
|
b0201aef5d
|
Set number of arguments when constructing a new Event
|
2023-10-29 20:20:56 +01:00 |
|
smallmodel
|
31014808c8
|
Added and using AI_COVER_MASK
|
2023-10-29 20:20:19 +01:00 |
|
smallmodel
|
0906124867
|
Use CurrentThink() to get the current think
|
2023-10-28 00:01:57 +02:00 |
|
smallmodel
|
43bb5ce653
|
Fixed BroadcastEvent not returning true with 1 processed listener + Fixed UnregisterTarget not removing the name
|
2023-10-27 21:03:07 +02:00 |
|
smallmodel
|
7e66483b1a
|
Added g_timescripts var
|
2023-10-27 21:02:25 +02:00 |
|
smallmodel
|
f96b606a1a
|
Fixed ScriptThread timing
|
2023-10-27 21:02:18 +02:00 |
|
smallmodel
|
30d26c3e44
|
Fixed register/unregistration
|
2023-10-27 20:42:01 +02:00 |
|
smallmodel
|
57e450a745
|
Thread state fix
|
2023-10-27 20:41:47 +02:00 |
|
smallmodel
|
24297bf396
|
Added timescript in ScriptMaster::ExecuteRunning()
|
2023-10-27 20:02:21 +02:00 |
|
smallmodel
|
481cd760a9
|
Added ScriptTrace/GetSourcePos
|
2023-10-27 20:00:48 +02:00 |
|
smallmodel
|
6d6043775e
|
Use const unsigned char* for sourcepos
|
2023-10-27 19:59:29 +02:00 |
|
smallmodel
|
bb97ec8933
|
Added GetSourceAt() with code pos
|
2023-10-27 19:59:15 +02:00 |
|
smallmodel
|
dc028b87e4
|
Added const unsigned char* hashcode
|
2023-10-27 19:58:38 +02:00 |
|
smallmodel
|
0d1b7a9c8a
|
Added int64 support
|
2023-10-27 19:58:29 +02:00 |
|
smallmodel
|
a6e602af1d
|
Renamed variables in ScriptClass::RemoveThread for more clarification
|
2023-10-26 20:18:50 +02:00 |
|
smallmodel
|
04a6012e5d
|
Renamed thread parameters
|
2023-10-26 20:17:53 +02:00 |
|
smallmodel
|
0f7691c722
|
Reordered NotifyDelete switch statement for more clarity
|
2023-10-26 20:17:42 +02:00 |
|
smallmodel
|
f01a0a17c1
|
Added script traces
|
2023-10-26 20:13:07 +02:00 |
|
smallmodel
|
b291ab92b6
|
Fixed script class being always created even when a thread was started in the same group
|
2023-10-26 20:08:09 +02:00 |
|
smallmodel
|
fb4bf4fcaa
|
Fixed wrong value() for GetGameScript in CreateScriptInternal()
|
2023-10-26 20:07:49 +02:00 |
|
smallmodel
|
98816156d7
|
Delete created scriptclass / thread when there is an exception, in ScriptThreadLabel::Create()
|
2023-10-26 19:58:26 +02:00 |
|
smallmodel
|
92bfb4c426
|
Fixed clarity of conditions in Animate::UseSyncTime()
|
2023-10-26 19:57:39 +02:00 |
|
smallmodel
|
cac883c4a0
|
Drop error to main menu if an hard script exception was encountered while executing running scripts
|
2023-10-24 23:18:44 +02:00 |
|
smallmodel
|
5a4fb90c96
|
Fixed THINKSTATE_ATTACK animation inside ChangeAnim() + weight should be 2.0 for ChangeMotionAnim()
|
2023-10-24 23:16:45 +02:00 |
|
smallmodel
|
c4f9eb65ae
|
Use SetWeight() and SetOnceType() instead of setting the frameinfo directly
|
2023-10-24 22:55:46 +02:00 |
|
smallmodel
|
9f5557b33c
|
Initialize bHasThrowTarget
|
2023-10-24 22:55:22 +02:00 |
|
smallmodel
|
4d876fdf5d
|
Fixed wrong state being ended in EndState()
|
2023-10-24 21:35:49 +02:00 |
|