12-24-2012, 02:16 AM
I'm trying to script for using a waxroll record on the phonograph to play music, and afters many hours of research have been able to come up with zip.
This is what I was able to find, but I've no idea what to do with it.
StateChangePhono(string &in asEntity, int alState)
{
SetWheelInteractionDisablesStuck(asEntity, false);
SetWheelStuckState(asEntity, alState, false);
SetEntityInteractionDisabled("swanlakerecord", false);
PlaySoundAtEntity("PlayMusic", "swanlakephonograph.snt", "musicphono", 0, false);
AddDebugMessage("State changed to: "+alState, false);
}
This is what I was able to find, but I've no idea what to do with it.
Spoiler below!
StateChangePhono(string &in asEntity, int alState)
{
SetWheelInteractionDisablesStuck(asEntity, false);
SetWheelStuckState(asEntity, alState, false);
SetEntityInteractionDisabled("swanlakerecord", false);
PlaySoundAtEntity("PlayMusic", "swanlakephonograph.snt", "musicphono", 0, false);
AddDebugMessage("State changed to: "+alState, false);
}