dietbob196045 Posted November 17, 2020 Share Posted November 17, 2020 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 EnjoyDietbob Link to comment Share on other sites More sharing options...
cyran0 Posted November 18, 2020 Share Posted November 18, 2020 The line if ( timer , 3) should be if ( timer < 3 ) I'd me more comfortable with "db_chest_top_00"->Move Y 20 We can't copy the text out of an image, so in the future it would be helpful to paste the code rather than an image of it. Link to comment Share on other sites More sharing options...
dietbob196045 Posted November 18, 2020 Author Share Posted November 18, 2020 Thanks for the suggestion Changing it did not work, so far nothings worked I have even tried a switch activator that I know works elsewhere I need to look at it another way EnjoyDietbob Link to comment Share on other sites More sharing options...
dietbob196045 Posted January 12, 2021 Author Share Posted January 12, 2021 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 itUsing 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 ThanksEnjoyDietbob Link to comment Share on other sites More sharing options...
abot Posted January 24, 2021 Share Posted January 24, 2021 (edited) 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 January 24, 2021 by abot Link to comment Share on other sites More sharing options...
dietbob196045 Posted January 26, 2021 Author Share Posted January 26, 2021 thank you Sir I knew someone would remind me of things I know and forget to do....old ageI looked at my previously written scripts and they are all checked as required.. I failed to do it in this case (Homer Moment) DOUH EnjoyDietbob Link to comment Share on other sites More sharing options...
Recommended Posts