Quote:
Originally Posted by MasterOfTheXP
GetEntProp(entityIndex, Prop_Data, "m_bLocked") should work.
|
You'd think that'd work, but sadly that's only the value from Hammer's "Start locked" field and doesn't change during gameplay.
I'm pretty sure the only way to find out a control points lock state is to manually track the control points from the start of the round.
That means checking their m_bLocked and hooking their OnUnlocked output and other fun stuff (such as figuring out how to track when they lock again)
I do wonder if there's somewhere in the game's code where you can find that out, though...
__________________