Sorry I'm New Here., Wanted to ask if there is some code in lua to make a move without detenerce unit, such as a plane at the time they created this STAY in motion., Another example would be like the planes in Empire Earth.
I noticed that in Boswars air units remain static, is there any way or Lua.
I expect an answer, and sorry if I write something wrong because I am occupying the google translator of English know nothing XD.
greetings bye.
Air units with continuous movement there any solution
- Mistreated
- Posts: 16
- Joined: Tue Oct 23, 2012 4:32 pm
Re: Air units with continuous movement there any solution
There is no code in Lua to make unit in continuous movement.
But, the 'Still' Animation may have the plane fly in circle (in the same position) for example.
But, the 'Still' Animation may have the plane fly in circle (in the same position) for example.
- Mistreated
- Posts: 16
- Joined: Tue Oct 23, 2012 4:32 pm
Re: Air units with continuous movement there any solution
Thanks for answering., Well I did some tests with "still" biendo the example of unit-Chooper, but only makes a rotary motion to the shaft, and there is not a circle or other code to enter than "rotate 1", if there are ways to make the aircraft move and circulate in a small circle would be great.jarod42 wrote:There is no code in Lua to make unit in continuous movement.
But, the 'Still' Animation may have the plane fly in circle (in the same position) for example.
You have a code out there to see, because I only have the "still" of the unit-Chooper.
If not too much trouble could post how to move the aircraft by a circle.
greetings bye.
Re: Air units with continuous movement there any solution
'rotate 1' change the direction on the plane (which is irrelevant here).
You have to change the graphics (and then change lua script) to have this rendering.
A way to do that is to have something like this in the image (need 8 frames):
.>. ..> ... ... ... ... ... ^..
... ... ..v ... ... ... ^.. ...
... ... ... ..v .<. <.. ... ...
You have to change the graphics (and then change lua script) to have this rendering.
A way to do that is to have something like this in the image (need 8 frames):
.>. ..> ... ... ... ... ... ^..
... ... ..v ... ... ... ^.. ...
... ... ... ..v .<. <.. ... ...
- Mistreated
- Posts: 16
- Joined: Tue Oct 23, 2012 4:32 pm
Re: Air units with continuous movement there any solution
thanks for the info.jarod42 wrote:'rotate 1' change the direction on the plane (which is irrelevant here).
You have to change the graphics (and then change lua script) to have this rendering.
A way to do that is to have something like this in the image (need 8 frames):
.>. ..> ... ... ... ... ... ^..
... ... ..v ... ... ... ^.. ...
... ... ... ..v .<. <.. ... ...