DarthWayne Posted February 7, 2016 Share Posted February 7, 2016 The line seems to be ok. Can you post the complete script? You can find it at Data/Scripts/Sources. Btw you should rename it (advanced tab), so you can find it easier in your files. Link to comment Share on other sites More sharing options...
MathLeBeau Posted February 8, 2016 Author Share Posted February 8, 2016 Actually, it do not wwwork,s I got this error :ok, for that : game.getPlayer().moveTo(ST_TamrielLandingMarkerPlayer) I got these errors : Starting 1 compile threads for 1 files... Compiling "ST___TIF__03021322"... C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\ST___TIF__03021322.psc(16,4): no viable alternative at input '.' C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\ST___TIF__03021322.psc(16,45): mismatched input '\\r\\n' expecting STATE No output generated for ST___TIF__03021322, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on ST___TIF__03021322 Link to comment Share on other sites More sharing options...
JetSteele Posted February 9, 2016 Share Posted February 9, 2016 Based off of the info you provided on your first post you wrote: ObjectReference Property ST_TamrielLandingMarker and in the moveto function you wrote: ST_TamrielLandingMarkerPlayer You need to have your properties match up with your fragment or they would be considered 2 separate properties, therefore Player needs to be removed from your moveto function and written like this: Game.GetPlayer().MoveTo(ST_TamrielLandingMarker) and can you tell us what is written on the 16th line? Is it the moveto function? Link to comment Share on other sites More sharing options...
MathLeBeau Posted February 9, 2016 Author Share Posted February 9, 2016 (edited) Game.GetPlayer().MoveTo(ST_TamrielLandingMarker) still do not work, I got these error: Starting 1 compile threads for 1 files... Compiling "ST___TIF__03021322"... C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\ST___TIF__03021322.psc(9,24): variable ST_TamrielLandingMarker is undefined No output generated for ST___TIF__03021322, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on ST___TIF__03021322 http://i.imgur.com/DkwSga0.jpg Edited February 9, 2016 by BeauMath Link to comment Share on other sites More sharing options...
DarthWayne Posted February 9, 2016 Share Posted February 9, 2016 (edited) The line you see in the papyrus fragment textfield is not the complete script. Without the complete script we can't help you. As I said: Go to Data/Scripts/src, find your script and open it with your favorite text editor and copy paste the whole content here...Edit: And if you really want to make us happy use the "code" bbcode (<> in toolbar) to make it easier to read. Edited February 9, 2016 by DarthWayne Link to comment Share on other sites More sharing options...
MathLeBeau Posted February 9, 2016 Author Share Posted February 9, 2016 Her is the Script : ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 2 Scriptname ST___TIF__03021322 Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_1 Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE ; ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment Link to comment Share on other sites More sharing options...
DarthWayne Posted February 9, 2016 Share Posted February 9, 2016 Ok try this:1. delete the script in your quest window (advanced tab) 1b. If not automatically deleted, delete it in the script list in the right2. close all quest and dialog windows3. delete the script in your file system (src and compiled)4. open the quest again. There should be no papyrus fragment now5. type ";" in the papyrus fragment textfield and press compile6. close all quest and dialog windows and open them again7. add the object reference property9. close all quest and dialog windows and open them again10. overwrite the ";" with the final script line and compile Link to comment Share on other sites More sharing options...
MathLeBeau Posted February 9, 2016 Author Share Posted February 9, 2016 Still got errors even with the trick, I do not anderstand, my door script and light script works perfectly. http://i.imgur.com/Xo9Tx27.jpg ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 4 Scriptname ST___TIF__03021322 Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_3 Function Fragment_3(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE ; ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment ObjectReference Property NewProperty Auto Link to comment Share on other sites More sharing options...
DarthWayne Posted February 9, 2016 Share Posted February 9, 2016 OK that already looks a bit better. I guess you just forgot to name your property correctly. Simply replace the last line ObjectReference Property NewProperty Auto with this one ObjectReference Property ST_TamrielLandingMarker Auto You should close the Creation Kit and edit the src file directly this time. Then start the CK again, open your quest and compile the script. Link to comment Share on other sites More sharing options...
MathLeBeau Posted February 9, 2016 Author Share Posted February 9, 2016 No error this time :tongue: I am going in game to test it !!! Link to comment Share on other sites More sharing options...
Recommended Posts