Jump to content

Help with a short script


Rooker75

Recommended Posts

This script won't compile and for the life of me, I can't figure out why not.

scn RhondaGRAPatchScript

int DoOnce

Begin GameMode

	If DoOnce == 0
		10VMVendorChestAllRef.AddItem 10VMGRAAll 1
		StopQuest 10VMGRAPatchQuest
		Set DoOnce to 1
	EndIf

End

10VMVendorChestAllRef is the RefID of a persistent container dropped in the NVVendorChests cell. 10VMGRAAll is a leveled list. The GECK is telling me "Script command 10VMVendorChestAllRef.AddItem not found".

 

If I change it to PlayerRef (or pretty much any other RefID), it works fine, but refuses to let me use the container. Am I not allowed to select containers via script or something?

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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