This repository was archived by the owner on Sep 22, 2021. It is now read-only.
This repository was archived by the owner on Sep 22, 2021. It is now read-only.
m_Collision.m_vecMins gets incorrect values for func_hostage_rescue entities #163
Open
Description
Inside of DemoParser.cs:
SendTableParser.FindByName("CCSPlayerResource").OnNewEntity += (s1, newResource) => {
newResource.Entity.FindProperty("m_hostageRescueX.000").DataRecivedDontUse += (s1, center) => ...
seems to get the X value for the center point of func_hostage_rescue entities correctly (same for Y and Z).
However,
SendTableParser.FindByName("CBaseTrigger").OnNewEntity += (s1, newResource) => {
newResource.Entity.FindProperty("m_Collision.m_vecMins").VectorRecived += (s2, vector) => {
trigger.Min = vector.Value;
};
seems to provide incorrect location values in vector.Value that do not match the entity's values and they do not even seem to correspond to other entities, moreso just a random place in the void.
This seems to work perfectly fine for func_bomb_target entities, and only seems to be an issue for func_hostage_rescue entities.
Could you advise? Thanks
Metadata
Metadata
Assignees
Labels
No labels