It does indeed appear that reset prop was not resetting the state of the wheel (only the position of it?). Here is a slight work around which should do the trick (worked for me in a test map).
Phonograph Settings:
Code:
void OnStart() {
//For testing, use lantern to reset prop.
GiveItemFromFile("lantern", "lantern.ent");
SetLanternLitCallback("cbLlit");
}
void cbLlit(bool abLit) {
if(abLit)
{
AddDebugMessage("Resetting Prop",false);
//Unstick & reset phonograph
SetWheelStuckState("phonograph_1",0,false);
SetWheelAngle("phonograph_1",0,false);
}
}
void cbPhonographChange(string &in asEntity, int alState) {
//Make the phonograph stuck at maximum
if(alState == 1) SetWheelStuckState(asEntity,alState,true);
AddDebugMessage("State changed: " + asEntity + " ( " + alState + " ) ", false);
}