I started using the GECK about 1 week ago, so my problem may be just a thinking error on my side.
I made myself a little script to stock shelves in my home with predetermined stuff.
I will describe the situation as detailed as possible so please bear with me for a moment.
First I created an Activator(Box of 9mm Ammo) with a small script.
Activating it will give you 1 clip of 9mm Ammo (20 Bullets) and then disables the thing.
I created about 8 or 10 REFs of that activator and gave em all seperate IDs: 01PSAmmo9mmREF01 to 01PSAmmo9mmREF08.
They all start disabled and are persistend references.
Thats for the first part. Now I wanted to create another Activator to stock the shelves. And here starts my problem:
scn 01PSAmmo9mmShelfRestockScriptBegin OnActivate if 01PSAmmo9mmREF01.GetDisabled == 1 && Player.GetItemcount Ammo9mm >= 20 01PSAmmo9mmREF01.Enable Player.RemoveItem Ammo9mm 20 endifEnd;the if part repeats for every REF from 01 to 08
Now Everytime I tried to save the script I get an error:
SCRIPTS: Script '01PSAmmo9mmShelfRefillScript' line 7:
Script command "01PSAmmo9mmREF01" not found.
Even if I remove the whole if part and just write a simple testscript with only the .Enable part I get the same error.
why does he think my REF is an command?
I would really appreciate some help on that problem.
Thanks a lot!
Kiran
PS: Please excuse my bad english, it's not my native language.
