Jump to content

Massive object ownership revamp 1.1 help


GodofWolves

Recommended Posts

http://www.nexusmods.com/newvegas/mods/55897/?

I made some changes for 1.1 but before I release it I want to make a script that changes the of the ownership the cell RocketLabTop when the quest come fly with me is done. That is the place where objects are marked as owned by the religious ghouls before and after they leave.

 

 

 

scn OwnershipRocketGhouls
begin OnActivate
     if RepconLaunchButton
        SetCellOwnership RocketLabTop
     endif


end
this script is doing nothing to achieve said goal. then I figured making it happen when the game considered the quest complete would probably be a better idea.
scn ScanOwnershipRocketGhouls
begin onTrigger VMS01 == 100
       SetCellOwnership RocketLabTop


end
no matter what script type I choose it refused to save. at this point I think i will check out how someguy made that bounty that relied on three card bounty being completed first.
Edited by GodofWolves
Link to comment
Share on other sites

this is not working either but it works structurally so I can at least save it

scn OwnershipRocketGhouls
begin ontrigger
  If GetStage VMS01 == 100
    SetCellOwnership RocketLabTop 
  endif

end
Edited by GodofWolves
Link to comment
Share on other sites

Add this code to your main script:

short	bVMS01Done	; Add this with the rest of the script's variables.

begin GameMode

	if bVMS01Done
	elseif GetStage VMS01 >= 90
		set bVMS01Done to 1
		SetCellOwnership RocketLabTop
	endif

end
Link to comment
Share on other sites

Ok it works. I was kinda on the right track when came coming up with the script, but I still have lot to learn.

I don't understand is what exactly "set bVMS01Done to 1" does for the script.

from my current understand short is time related vairable and I have vague idea what elseif does. short visit to the geck wiki at some time that is not 2:30 am will clear up what elseif does.

Edited by GodofWolves
Link to comment
Share on other sites

 

I don't understand is what exactly "set bVMS01Done to 1" does for the script.
That script segment should only run once. bVMS01Done is simply a variable whose sole purpose is to prevent it from running continuously, every time the script is processed.
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...