Jump to content

Script Help/Suggestions


Recommended Posts

Howdy

 

 

Writing (cough) a script

 

simply to make a activator move on its y axis if the player has a specific item in inventory

 

and though I have no errors in the CS or in game, it doesn't work

 

it's probably all wrong but either way hoping someone can get me on the correct path

 

Thanks

 

Enjoy

Dietbob

Link to comment
Share on other sites

  • 1 month later...

Script issues again

 

Expression error : can not find reference object ( xxxxxxxx ) in script ( xxxxxxxx )

 

The only time I get this error is when using the Ghost Gate Script

 

This is a Mod I am working on: I have nothing selected other then Morrowind, Tribunal and Bloodmoon

 

#1 I add the Activator to the CS and place it

#2 I add the Object (which is going to move) to the CS and place it

Using the Ghost Gate switch script as a reference

#3 I write the same script as the vanilla version adjusting the object ID accordingly, and attach that script to the activator

 

Save it, all good !

 

go in game to test it, new game or saved game makes no difference

 

I get the expression error

 

ANYONE know why this would happen

 

Thanks

Enjoy

Dietbob

Link to comment
Share on other sites

  • 2 weeks later...

the object you want to move must be unique and marked as persistent (there is a checkbox in the object properties window) for the script to find the object real time reference

Edited by abot
Link to comment
Share on other sites

  • Recently Browsing   0 members

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