Page 1 of 1

Can a unit move randomly ?

Posted: 31 Jul 2007, 17:31
by LBPB
Hello,


Can this be scripted ?

My goal is to make a floating object who move randomly (the owner cannot move it manually).
It would be like moving randomly to a direction (not far and very slowly) for a few seconds and then stay in place for some more few seconds.
And yes I know I suck at scripting... :?


Technicaly I want to make a floating mine for my Mod

Posted: 31 Jul 2007, 18:33
by Guessmyname
A LUA script would probably do it. I forsee Tyranid Spore mines. Are you trying to make 'nid spore mines?

Posted: 31 Jul 2007, 21:58
by AF
indeed, disabling the move command in a lua gadget would do this.

Posted: 31 Jul 2007, 22:02
by LBPB
Thats the unit I want to animate.

Image


its a depth mine

Posted: 31 Jul 2007, 22:06
by Peet
nice ship!

Posted: 01 Aug 2007, 13:50
by LBPB
Guessmyname wrote:A LUA script would probably do it. I forsee Tyranid Spore mines. Are you trying to make 'nid spore mines?
Where can I find info about this ?
The wiki lua entry is empty


Peet wrote:nice ship!
thx, thats another unit for my mod