Random posture change
Posted: Sun Dec 28, 2025 7:50 pm
Hi: I'm very new to Lua.
Is there a script that would check at say the top of every hour giving say a 10% chance that a side or sides change their posture towards another side or sides ?
I see a Lua "scenedit set side posture , however how do I do it randomly ?
I have 4 sides, I would like one to change it's posture towards another if a certain number range is randomly generated.
ie: 0-10% chance.
Thanks for any help !
Is there a script that would check at say the top of every hour giving say a 10% chance that a side or sides change their posture towards another side or sides ?
I see a Lua "scenedit set side posture , however how do I do it randomly ?
I have 4 sides, I would like one to change it's posture towards another if a certain number range is randomly generated.
ie: 0-10% chance.
Thanks for any help !