Jump to content

GECK how do i change topic for quest?


psj7759

Recommended Posts

i want my npc to say "why are you still here" or "what did you find" when quest start how do i not make my npc to saying same topic over and over? i used

 

the getstage is not working. and i also want to know how to start the quest by reading hologram or note

Edited by psj7759
Link to comment
Share on other sites

A quest can be started either by calling StartQuest or calling SetStage.

 

If the note is added to the player by a terminal option, add this code in the result script box of that option:

if GetQuestRunning YourQuestEditorID == 0
	StartQuest YourQuestEditorID
	; or, alternatively:
	SetStage YourQuestEditorID X	; where X is the stage number initializing the quest.
endif

Or, if the note is added by picking up an item, add a script to the item and use this code:

scn	AddYourQuestNoteScript

begin OnAdd player

	AddNote YourNoteEditorID
	if GetQuestRunning YourQuestEditorID == 0
		StartQuest YourQuestEditorID
		; or, alternatively:
		SetStage YourQuestEditorID X	; where X is the stage number initializing the quest.
	endif
	RemoveMe

end

Oh, and friendly advice, to boot: Being a pottymouth can get you in trouble here. You might wanna edit your post before a moderator sees it.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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