TypeInfoGen will now autobind doom scripts.

This commit is contained in:
Justin Marshall
2026-05-23 20:50:12 -07:00
parent df82170a67
commit 293942d07c
132 changed files with 7321 additions and 3762 deletions
+4 -3
View File
@@ -6,8 +6,6 @@
#include "../Game_local.h"
CLASS_DECLARATION( rvmAIObject, rvmMonsterBase )
END_CLASS
rvmMonsterBase::rvmMonsterBase() {
run_distance = 0.0f;
@@ -1078,7 +1076,10 @@ void rvmMonsterBase::trigger_wakeup_targets() {
while ( kv ) {
idEntity* ent = gameLocal.FindEntity( kv->GetValue() );
if ( ent ) {
ent->ProcessEvent( &EV_Activate, owner );
const idEventDef* activateEvent = ent->FindEventDef( "activate", "e" );
if ( activateEvent ) {
ent->ProcessEvent( activateEvent, owner );
}
} else {
gameLocal.Warning( "Unknown wakeup_target '%s' on entity '%s'", kv->GetValue().c_str(), owner->GetName() );
}