giannis196 Posted January 21, 2014 Share Posted January 21, 2014 so, i tried to make my own papyrus script, i fix lot of my mistakes on the code after a lot of work but i have got a little small mistake here (it seem the last one)the error message is that: extraneous input '.' expecting IDso, what does that mean and what did i should do? Link to comment Share on other sites More sharing options...
Sjogga Posted January 22, 2014 Share Posted January 22, 2014 The compiling error should have a number that tells which line in your code that generates the error. Posting your script would make helping you easier. Link to comment Share on other sites More sharing options...
giannis196 Posted January 23, 2014 Author Share Posted January 23, 2014 The compiling error should have a number that tells which line in your code that generates the error. Posting your script would make helping you easier.here is my script:event.ondrop wait(50) and then Disable;endevent i hope it helpsbtw what did i forgot (or what did i make wrong?) Link to comment Share on other sites More sharing options...
firepower02 Posted January 23, 2014 Share Posted January 23, 2014 (edited) I think it's Utility.Wait(50) Edited January 23, 2014 by firepower02 Link to comment Share on other sites More sharing options...
Sjogga Posted January 24, 2014 Share Posted January 24, 2014 (edited) I can't find OnDrop as an existing event, which makes it an invalid syntax. There is a function similar to it though. I suspect your script should look something like this. Form Property ObjectToDrop Auto Int Property qty auto Event SomeEvent() Objectreference MyRef = Game.getPlayer().DropObject(ObjectToDrop, qty) utility.wait(50) MyRef.Disable() EndEventSomeEvent is not a valid syntax though. A few questions:- What triggers the drop?- Who should drop it?- Is the object needed for later or should it also be deleted after 50 seconds? Edited January 24, 2014 by Sjogga Link to comment Share on other sites More sharing options...
giannis196 Posted January 25, 2014 Author Share Posted January 25, 2014 (edited) it's ok, i solved ithere is my script: Event OnLoad()Utility.Wait(7.5)self.delete() endEventi wanted when it appear to dissapear after some secondsthank you for your help!edit: can i ask something last?i also want it to dissapear slowly slowly so, how i can put fade at dissapear so it dissapear slow and not that fast? Edited January 25, 2014 by giannis196 Link to comment Share on other sites More sharing options...
Recommended Posts