Here it is an example of scripts where some command buttons are removed and replaced with others.
Download the attached file and extract it.
To import the script into your test map using worldbuilder, you can do the following :
In worldbuilder Edit > Scripts > click on folder PlrCivilian (if you dont see such a folder go to the bottom of the post) > Import > find the location of the extracted file, named China_upgrades_to_unlaunchable_missiles.scb which contains the scripts and press OK.
The scripts will be imported and you can have a look and edit the scripts to see how exactly you can add your own commandbuttons in a similar way.
Scripts have to be into PlrCivilian folder.If you don't see such a folder, cancel and close the Scripts window.Place a civilian structure in your map, anything from Civilian object window.When asked to accept the owner of the newly placed object to be PlrCivilian, accept.Then go back to scripts and you will see a folder named PlrCivilian.
China_upgrades_to_unlaunchable_missiles.zip
(2kb) downloaded 47 time(s). Edited by user
7 years ago |
Reason: Not specified