Looking for a script

Looking for a script

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
TechnoTone
Posts: 165
Joined: 23 Aug 2005, 22:02

Looking for a script

Post by TechnoTone »

I've spectated a couple of games recently and can see some players are using what I think must be a widget that is controlling their nano-towers. The instant a tower is first started being built it immediately has a patrol order slightly up and right of it's location. This is fairly straight forward to do but what is a bit more clever is that if there is nothing for the tower to do it will instead assist a factory within its reach. Nano-towers can be seen switching between factories, assisting with new builds, repairing damaged units, etc., all automatically.

Anyone know what this widget is? I've searched here and UnknownFiles but I can't find it.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Its all a part of the patrol command and the internal Unit AI spring provides.
User avatar
TechnoTone
Posts: 165
Joined: 23 Aug 2005, 22:02

Post by TechnoTone »

Really? I tried that but it didn't seem to work.

I built some nano towers and set them to patrol but while they would happily assist with builds/repairs in the area they didn't want to help a factory unless I specifically told them to.

Is it mod-specific? Perhaps I was in a different mod. (It was definitely AA or BA but not sure which.)
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Post by tombom »

It's the ImmobileBuilders widget that sets nanotowers to roam and patrol automatically.
User avatar
TechnoTone
Posts: 165
Joined: 23 Aug 2005, 22:02

Post by TechnoTone »

Cheers Tombom - that's the jobby.
Post Reply

Return to “Lua Scripts”