Jump to content

[LE] Making the player travel with a dialogue


MathLeBeau

Recommended Posts

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

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

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 by BeauMath
Link to comment
Share on other sites

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 by DarthWayne
Link to comment
Share on other sites

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

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 right

2. close all quest and dialog windows

3. delete the script in your file system (src and compiled)

4. open the quest again. There should be no papyrus fragment now

5. type ";" in the papyrus fragment textfield and press compile

6. close all quest and dialog windows and open them again

7. add the object reference property

9. close all quest and dialog windows and open them again

10. overwrite the ";" with the final script line and compile

Link to comment
Share on other sites

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

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

  • Recently Browsing   0 members

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