I need help!
I am either too stupid to understand the SP coding language or the post are just garbage. Either way, i need your help!
I am building a tank and i have already put much effort in it, to make it very detailed (for my standards). For that purpose, i have built an ejection mechanism for the “spent” cases of ammunition. The ejection mechanism is already done but i still need the input code for the little hatch that opens to remove the case (very similar to the M1128 MGS). I have spent 3 hours to try to understand the language but not even ChatGPT could give me something that works.
Here what i need (PLEASE HELP ME🙏😭): Set hinge rotator to -1.3 0.5 seconds after ”152mm HEATFS” was fired, stay open for 0.5 seconds and then close.
PLEASE, I NEED THIS! (My mom is kinda homeless)
Have you read the documentation? It’ll take a second but once you’ve read through the whole thing you should understand the language.
That said I have thought of a rather janky solution.
Create a variable named hingeTimer and make the value be
FireWeapons = 1 & SelectedWeapon = “152mm HEATFS” ? 0 : hingeTimer + 1Then you can set the input of the rotator to
hingeTimer = 5 ? -1.3 : hingeTimer = 10 ? 0. Let me know if it works, if not I would encourage you to try and debug it before asking for help.