Jump to content

SP- how do I enable Build Options - help!


Recommended Posts

Hi folks,


Great mod. Love it to bits. :) I'm playing around with a very simple singleplayer mission or two, to teach myself how to write SCAR code. But I have a problem, and I'm at the 'beat head into wall' stage.


I can't get the 'Build' option to do anything in an SP mission. Nothing, nada. The build menu doesn't even appear when I click on the Build icon.


How do I enable the ability to build units in SP missions?


I've successfully added a build-capable unit or three, and I know all about the various GrantAll/UnrestrictBuild functions. In my M01.lua I've tried:


Player_UnrestrictResearchOption( 0, 'FIGHTER_DESIGNSI' )
Player_UnrestrictBuildOption(0, "Fighters")
Player_UnrestrictBuildOption(0, "imp_tie_fighter")
SobGroup_UnRestrictBuildOption("Production", "Fighters")
SobGroup_UnRestrictBuildOption("Production", "imp_tie_fighter")


( Where 'Production' is a SobGroup consisting of a single imp_fightershipyard. )


I know I must be missing something incredibly basic here. What is it?!


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Copyright (c) 1999-2022 by SWRebellion Community - All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Star Wars(TM) is a registered trademark of LucasFilm, Ltd. We are not affiliated with LucasFilm or Walt Disney. This is a fan site and online gaming community (non-profit). Powered by Invision Community

  • Create New...