Can a unit move randomly ?

Can a unit move randomly ?

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
LBPB
Posts: 119
Joined: 25 Aug 2006, 10:27

Can a unit move randomly ?

Post 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
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

A LUA script would probably do it. I forsee Tyranid Spore mines. Are you trying to make 'nid spore mines?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

indeed, disabling the move command in a lua gadget would do this.
User avatar
LBPB
Posts: 119
Joined: 25 Aug 2006, 10:27

Post by LBPB »

Thats the unit I want to animate.

Image


its a depth mine
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

nice ship!
User avatar
LBPB
Posts: 119
Joined: 25 Aug 2006, 10:27

Post 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
Post Reply

Return to “Game Development”