Jump to content

Start a quest when (Need help please)


Rumbleskin

Recommended Posts

Hiya am trying to make a quest that starts when you pick up a holotape. I have made the quest its just the script i need help with

 

scn 1Mariastage10triggerSCRIPT

begin onGrab 1mariastartREF

if getStage 1Maria < 10

setStage 1Maria 10

endif

end

 

This is my first quest

I called the questID 1Maria

and the item 1Mariastart (The holotape)

Am pretty sure i made the quest the right way its just not the script thats working

Can anyone please help

Link to comment
Share on other sites

i think it should be OnActivate, and not OnGrab

i think that the grad is when you actually grab an object (with the Z key, when you can move it around)

try changing it, and maybe this will work then

 

it dosent seem to want to save the script when i change OnGrab to OnActivate

Link to comment
Share on other sites

If the holotape is like a misc item you should use an OnAdd begin,so when you pickup the item,the script start.Don't forget to attach the script to the item,Also,i think the right command would be startquest 1Maria then setqueststage (or setstagequest...).
Link to comment
Share on other sites

If the holotape is like a misc item you should use an OnAdd begin,so when you pickup the item,the script start.Don't forget to attach the script to the item,Also,i think the right command would be startquest 1Maria then setqueststage (or setstagequest...).

 

It looks like this now

scn 1Mariastage10triggerSCRIPT

begin onADD 1mariaitem

if getStage 1Maria < 10

startquest 1Maria 10

endif

end

 

But it wont let me save it. Also i have script type set to object but i also tryed with it set to quest, neather worked (couldent save etc). Maybe am just missing somthing really basic?

Link to comment
Share on other sites

1) you may not want to call it 'triggerscript', but that's just convention

2) You want the script added to the item, not the quest

3) the script should look something like

 

scn 1Mariastage10script

Begin OnAdd player

if getstage 1Maria < 10
    startquest 1Maria
    setstage 1Maria 10
endif

End

Link to comment
Share on other sites

1) you may not want to call it 'triggerscript', but that's just convention

2) You want the script added to the item, not the quest

3) the script should look something like

 

scn 1Mariastage10script

Begin OnAdd player

if getstage 1Maria < 10
    startquest 1Maria
    setstage 1Maria 10
endif

End

 

The script saved and i added it to the item but it still dosent seem to want to work

 

Here is how the quest itself looks (Its not advanced or anything i did a tutorial but changed it around a little)

 

Quest data tab

 

Quest name= Looking for maria

 

ID= 1maria

 

priorty 50

script none

start game enabled =check

 

script process delay =check

 

Quest stages tab

Index 10 has log entry SetObjectiveDisplayed 1Maria 10 1

index 100 has empty

 

Quest objectives tab

object index shows 10 with text display =no place like sloan

target ref QJmesshall 11maria

 

Am trying to make a quest that will send the player to sloan after picking up the first holotape to find a girl named maria, but she is not there but you find another holotape there. Also am hoping to get a text to pop up on the screen when the play gets the text that says No place like Sloan

 

Any more tips or if you noticed were i screwed up would be great :)

Link to comment
Share on other sites

You don't need start game enabled, you are starting it with the holotape.

 

You want setobjectivedisplayed 1maria 10 1 in the result script box (from memory, not looking at geck right now), not log entry. Log entry is just notes for yourself.

thanks man that worked the quest came up and everything and the marker pointed to the right place, but now i have another problem, when i grabed the second holo disk it dident finish the quest and the marker still points to the old spot. the second tap is just a note and i cant bind the note to a script, all i can do is set the items owning quest to Maria1. Should i just make a item like the last one and write a script for it. I have a script writen but it wont let me save it

 

scn 1MariaEndTRIG

begin OnTrigger player

if getStage 1Maria < 100

if player.getHasNote 2mariaitem

setStage 1Maria 100

endif

endif

end

 

Thanks agian for any help :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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