hi, its a long time ago but again a problem. so...i make maps you cannot make money, no hackers etc. i give the suply docks 1000000 crates money, so money enough. so you can build less and the map does not freeze for to many units.i made a long time ago a script for command buttons to another building because gla black market got upgrades and when you cannot build them...no upgrades so i did the following. script new then scripting and then add a command button to an object type, when i did that i got 3 question markers before the line and a warning does not exist. the funny thing it worked. but know i play contra009 and i want to change some command buttons but i does not work any maore... i got no qustion markers before the line. someone ot a idea wat i do wrong...greetings ron

"After selecting the command button you want to remove/add, YOU MUST delete an invisible character that's at the end of the command button. To verify that this character is removed, please check if the world builder recognizes the command button.""If it recognizes the command button exists, then the character is still there, select the end of the text and press backspace."

"This is how it should look like after you deleted the invisible character:"

mmm...still not working..i want to add a button like radarvanscan in armsdealer spot 14.i remove the invissible sign and i got the warning. when i go in the game to armsdealer i see the sign of radarscan but its black..i cannot activated it..so i keep trying to find out..greetings

ok..last update..it works..just the wrong icon for RADARVANSCAN..only crapy is the names in the buildings are often not the same in the list to activate them..a lot of searching..but nver give up...again thanks for the reply..

If you have trouble finding the correct command button, simply place the unit that normally can trigger this command button in worldbuilder and give it a random name, then create a new script:

Unit -> CommandButton -> Use

Choose the random unit name you have picked above.

Worldbuilder will actually preview all the command button names if you do this.

Another side note:You cannot transfer abilities with this. You can't make a China unit create drones, you can't make a dozer create units, you can't make a barracks launch nukes and stuff like that.

But there are interesting things that do work. For example you can make any American units create other units as if it was a barracks/warfactory (or even airfield), as long as they were able to construct drones before. So you can create a medic that is able to deploy infantery by itself, you can make an avenger that is able to build more avengers, but you still can't make a dozer create units, as it doesn't have the drone deployment ability.

But there are interesting things that do work. For example you can make any American units create other units as if it was a barracks/warfactory (or even airfield), as long as they were able to construct drones before. So you can create a medic that is able to deploy infantery by itself, you can make an avenger that is able to build more avengers, but you still can't make a dozer create units, as it doesn't have the drone deployment ability.

These work because of the 'ProductionUpdate' ModuleTag

You can also do this on Overlords and Helixes. Any object that has the ability to upgrade or create units has this property/ModuleTag. A GLA Worker can be used to create units too, due to, by definition of the game, their commandset switching ability is an upgrade.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.