Jump to content

Need a little scripting help please


FutureVisions

Recommended Posts

Why isn't this script adding caps to a merchant?

 

Ref MyRef
Short Add
Short ThisAmount

Begin GameMode

If Add == 1
	Set MyRef to GetLinkedRef
	MyRef.AddItem Caps001 ThisAmount
	Set Add to 2
Endif

END

 

Btw this is the script of another container, that's linked to the vendor chest container.

Inicially I had tried to make this container owned by the merchant and add the caps to this container, but that didn't work either.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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