Jump to content

Scripting Mindset Problem


Guest Suited Prawns

Recommended Posts

Guest Suited Prawns

So ive been doing small scripts now and then, and ive tried to use sexlab a few times but I all ways seem to run into the same problem, I cant get the game to figure out who the player is talking to, since I have looked at a few mods that aim to do the same thing as I am going for but they all seem to not use dialouge at all. 

Now I dont know if I am out of my depth or just inept, so I was hoping to get some help from some of you talented modders.

Link to comment

If you open any tif scripts (topic info fragments), those that are used in dialogue, in an external editor, you'll see this in them:

 

 

;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
GetOwningQuest().SetStage(10)
;END CODE
EndFunction
;END FRAGMENT

So the fragment functions take the speaker as a parameter, but conviniently hide it from you.

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use