This may be somewhat of a weird request, and I'm not even sure it really counts as a "script", but I've been trying to recreate
this rm2k3 event system in vx ace for quite some time. Even after painstakingly recreating every event, I couldn't get it to work. After thinking about it some more, I realized that there's probably already a way to have rgss do the math instead, without having to worry about creating a huge lookup table in a common event.
After a bit of searching, I found
this. (pg. 284, under math, module functions.)
I don't have much experience at all with RGSS3, or ruby in general, so I have no idea how I would utilize this. Would I use a script call, or would it need some sort of code snippet? Any guidance would be appreciated.
Basic description of what I want: I'd like to be able to calculate angles from numbers stored in variables, and then pass the angle into a different variable for eventing purposes.