Scripting question -1 reply

Please wait...

neilmakin1

I eat borg for breakfast

50 XP

6th March 2006

0 Uploads

53 Posts

0 Threads

#1 12 years ago

I was wondering if anyone out there knows how to 'get' a sub- button when scripting. For instance, I know how to grab a button, using the command:Libs.LibEngineering.GetButton(...etc...)However, this only works for grabbing buttons by themselves such as 'Redistribute Shields', but not for sub- buttons such as those found under 'Advanced Core Options'.Any help in this matter would be greatly appreciated




*Daedalus

A Phoenix from the ashes

50 XP

18th April 2006

0 Uploads

3,091 Posts

0 Threads

#2 12 years ago

Do you mean a sub menu? For ships in quickbattle or something...?




neilmakin1

I eat borg for breakfast

50 XP

6th March 2006

0 Uploads

53 Posts

0 Threads

#3 12 years ago

In Libs.LibEngineering there is a command which enables you to 'grab' an already existing button by name. Such as 'report' or 'redistribute shields'. This enables you to assign additional functions to pre existing buttons. However, this command doesnt work with a sub- button. By that, I mean a button which is displayed when you click another. For instance, when you click 'Advanced core options', 4 other buttons are dispalyed. I was wondering if there was a command to 'grab' such a button




neilmakin1

I eat borg for breakfast

50 XP

6th March 2006

0 Uploads

53 Posts

0 Threads

#4 12 years ago

Never mind, I fixed it




JimmyB76 Filer

ST: Bridge Commander Central Forums Admin

30,367 XP

19th March 2003

0 Uploads

2,826 Posts

81 Threads

#5 12 years ago

any chance you can explain what you did, in case someone else has the same inquiries later? :)