I am currently working on an RP map. On the map is a command called 'fa. Type in 'fa 10, then 'fa 100 and it will rotate the building to what should be 90 degrees. From what I've gathered through constant messing around with the trigger, it has to be done with Jass if it is to work right. As hinted by the fact 'fa 100 = 90 degrees, the trigger version I am using now doesn't work as intended.
What I need is a code I can put in the map that will make it so if I type 'fa 90, the structure or unit will rotate 90 degrees. If I type in 'fa 124, it will rotate 124 degrees.
I will be honest: I know next to nothing about Jass.
How do I know this can be done? Because its already been done on several maps. SotDRP1.04, SotDRP Yag-Sinekas, and NGoRP Ashenvale, all of which can be found on MMH. On any of those maps, the rotation system works perfectly.
So ya, if anyone could help me out with this, that would be awesome. Thanks.
What I need is a code I can put in the map that will make it so if I type 'fa 90, the structure or unit will rotate 90 degrees. If I type in 'fa 124, it will rotate 124 degrees.
I will be honest: I know next to nothing about Jass.
How do I know this can be done? Because its already been done on several maps. SotDRP1.04, SotDRP Yag-Sinekas, and NGoRP Ashenvale, all of which can be found on MMH. On any of those maps, the rotation system works perfectly.
So ya, if anyone could help me out with this, that would be awesome. Thanks.