Jump to content

What is wrong with this trigger script for geck? PLEASE HELP!


DigitalSummon

Recommended Posts

How do I create a trigger script to complete a quest? I want a trigger script that when the player walks into a certain position I want it to complete the quest. THIS IS THE SCRIPT WHICH FOR SOME REASON DOES NOT WORK:

 

scn AAATheHiddenTreasureQueststage20TriggerS…

 

begin onTriggerEnter player

 

if getStage AAATheHiddenTreasure < 20

SetObjectiveCompleted AAATheHiddenTreasure 1 20

endif

 

End

 

 

 

 

 

Quest info: You come up to this guy and you talk to him... You complete 2 objectives by talking to him. After you have talked to him you have to go to this position in the wasteland when I walk in the right position... Nothing happens. Please help.

 

Quest ID: AAATheHiddenTreasure

 

I WANT THIS TO END THE QUEST! But nothing happens PLEASE HELP IF YOU NEED ANY MORE INFO JUST ASK! PLEASE!!!!!!!!! HELP!!!!

 

(This is going to be a mod)

Link to comment
Share on other sites

  • 1 month later...
First of all, you must use stage to control a " quest ".<BR>So your script should look like :<BR><BR><FONT size=2>scn AAATheHiddenTreasureQueststage20TriggerSCRIPT<BR><BR>short DoOnce<BR><BR><FONT size=2>begin onTriggerEnter player<BR><BR>if getStage AAATheHiddenTreasure < 20<BR> if doOnce == 0<BR> SetStage AAATheHiddenTreasure 20<BR> Set DoOnce to 1<BR> endif<BR>endif<BR>End<BR><BR>Also the Stage 20 must have ticked the " Complete quest " check box in order to complete the quest.<BR><BR></FONT><BR><BR></FONT> Edited by firelady
Link to comment
Share on other sites

First of all, you must use stage to control a " quest ".<BR>So your script should look like :<BR><BR><FONT size=2>scn AAATheHiddenTreasureQueststage20TriggerSCRIPT<BR><BR>short DoOnce<BR><BR><FONT size=2>begin onTriggerEnter player<BR><BR>if getStage AAATheHiddenTreasure < 20<BR> if doOnce == 0<BR> SetStage AAATheHiddenTreasure 20<BR> Set DoOnce to 1<BR> endif<BR>endif<BR>End<BR><BR>Also the Stage 20 must have ticked the " Complete quest " check box in order to complete the quest.<BR><BR></FONT><BR><BR></FONT>

 

 

scn AAATheHiddenTreasureQueststage20TriggerSCRIPT
short DoOnce
begin onTriggerEnter player
if getStage AAATheHiddenTreasure < 20
    if doOnce == 0
       SetStage AAATheHiddenTreasure 20
       Set DoOnce to 1
    endif
endif

 

 

HTML: NO!

BBCODE: YES!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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