View Single Post
Old 04-17-2011, 10:54 PM   #7
Dak Drexl
@Dak Drexl
Senior Member
Dak Drexl's Avatar
Join Date: Jan 2010
Posts: 1,079
Thanks a lot for this tut, but I just want to point out that in the script there is a problem:

// ST: st_startstore.nss

void main() 
	object oStore = GetObjectByTag("TAG_OF_STORE_HERE");
        object oSpeaker = GetPCSpeaker();
	if (!GetIsObjectValid(oStore))

	if (GetIsObjectValid(oStore))
		DelayCommand(0.5, OpenStore(oStore, oSpeaker));
That exclamation point needs to come out if you want the script to work. It will still compile with it in, but it won't work unless you take it out; just a future warning to anyone!

But thanks again for this very helpful.

Dak Drexl is offline   you may: quote & reply,