Fighter script

Fighter script

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

Moderator: Moderators

Post Reply
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Fighter script

Post by Gota »

this is a script that changes the way gunships behave and makes them do flybys.
Thing is in some occasions they still act like gunships when attack,and just hover in a circle around the target while shooting.
Can anyone locate the problem?

http://pastebin.com/m28e14cf3

Maybe it is because of area attack?what does the script miss?
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Fighter script

Post by CarRepairer »

Gota wrote:Maybe it is because of area attack?what does the script miss?
It's because I only tested it with one unit and didn't account for multiple units. I thought I told you this already. But this whole idea is so ridiculous that I suggest you drop it and find a new solution - I have offered you a few but didn't get a response.
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: Fighter script

Post by Gota »

why does it matter if you have many selected?
Cant this be fixed?
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: Fighter script

Post by Tribulex »

STOP BAITING

- SINBADEV
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Fighter script

Post by Google_Frog »

Learn Lua. You have so many request that no one wants to code.
User avatar
bartvbl
Posts: 346
Joined: 21 Mar 2009, 15:55

Re: Fighter script

Post by bartvbl »

learn to debug instead of hitting the "new topic" button
Post Reply

Return to “Lua Scripts”