diff --git a/src/client/component/mapents.cpp b/src/client/component/mapents.cpp index 3aa707a4..1a48f04e 100644 --- a/src/client/component/mapents.cpp +++ b/src/client/component/mapents.cpp @@ -82,6 +82,12 @@ namespace mapents {"script_vehicle_anim", 40318}, {"script_vehicledetour", 31510}, {"script_vehiclegroupdelete", 31514}, + {"script_flag_wait", 31197}, + {"script_emptyspawner", 31161}, + {"script_aigroup", 31025}, + {"script_group", 31245}, + {"script_index", 31259}, + {"script_delay_post", 31122}, }; std::unordered_map custom_fields; @@ -402,6 +408,11 @@ namespace mapents utils::hook::call(0x1406B3384, cm_trigger_model_bounds_stub); add_field("script_specialops", game::SCRIPT_INTEGER); + + for (const auto& key : keys) + { + scripting::token_map[key.first] = key.second; + } } }; }