Page 1 of 1

Move() and ScriptedMove() function. Difference?

Posted: Sat Mar 28, 2020 6:43 pm
by Adrian
I found 2 function in Lua API:
Move() and ScriptedMove().

What is difference? In Dune 2000. I cannot understand still.

Re: Move() and ScriptedMove() function. Difference?

Posted: Tue Apr 21, 2020 2:47 pm
by Matt

Re: Move() and ScriptedMove() function. Difference?

Posted: Fri Apr 24, 2020 11:01 am
by Adrian
Thank you for your reply.
But, excuse me, I am afraid, there is the same text, that I read in Lua-API:
https://github.com/OpenRA/OpenRA/wiki/Lua-API

Actually, I was interested in the next. What does it mean?
"ignoring lane biases"

This is text about ScriptedMove.
"Moves within the cell grid, ignoring lane biases".

I guessed, this was about movement that ignore landscape. Like aircraft.
But, maybe no.

Re: Move() and ScriptedMove() function. Difference?

Posted: Sun May 03, 2020 6:02 pm
by Matt
Besides lane bias it also ignores nearby units. I remember it being used for the Tiberian Dawn gun boat in the past, which should always go in a straight line. It is used to unload transport nowadays.