Jump to content

Recommended Posts

Posted

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_GrantAllResearch(0)
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?!

:evil:

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Copyright (c) 1999-2025 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...