i figured out the events to lock stuff correctly and found out the event sequence to unlock something, but i have no idea what triggers the event sequence that unlocks something
pegperegogaucho
its certainly not a shape
pegperegogaucho
adrientd
maybe the squad?
pegperegogaucho
wdym?
adrientd
Maybe it's the squad that triggers when all enemies are defeated
pegperegogaucho
well
pegperegogaucho
its really weird
pegperegogaucho
The squad doesnt do anything, if you have another event sequence that triggers an object that *can* get locked by another squad to get locked, then the lock will disappear after all enemies are dead, meaning the event sequence that removes a lock must have something to do with the object you lock
adrientd
ah yeah, possibly
pegperegogaucho
this is the event sequence that removes the lock, it isnt referenced by any checklist detectors so it must be something else
adrientd
if there's a hook related to locks, then maybe it's there?
pegperegogaucho
Its either that or something else sends an event to the turnstile that checks for the amount of enemies as the turnstile is referenced 3 times in the SrvEvent
adrientd
Hmm yeah, maybe (not sure) that you enable a lock by sending an event to the turnstile, and the turnstile will then transmit the event to the AsterixManager or something like that that will handle the lock.
pegperegogaucho
You say that like you already know ^^
pegperegogaucho
Game things -> CKAsterixGameManager?
adrientd
It's only a guess (from my experience), but I would have to verify.
pegperegogaucho
yeah i dont think its that
pegperegogaucho
i removed every single event that gets sent to it and the lock still works fine
pegperegogaucho
are you sure there isnt some kind of drm going on?