Jump to content

Want quest to automatically start on load


RampionRampage

Recommended Posts

As far as I can tell, I need a script selected in the Quest Data tab. I made a script, it saved fine. The quest was already created/reloaded (so it is retaining data now). In the drop down in Quest Data, though, literally none of my scripts - even ones that work just fine in other places - show up. Just the ones related to the master files.

 

If I want the script as a result script? Fine! Load on adding an item? Fine! Pretty much anything else? Awesome! But the Quest Data drop-down refuses to display any of my scripts.

 

Is there some critical component needed in the script itself to be viable for use in this context?

 

The image shows the end of the drop-down ending with the Yes-Man quest script. All of my scripts are named with a "z" first. I have about a dozen successful scripts, all starting with z.

 

Edit: Mind, I once had a different quest originally start out at the first quest stage on loading the game. It pissed me off at the time but now I can't replicate the error intentionally.

 

Edit2: I just ran into this issue a second time with Challenge Reward Scripts... none of my scripts show up.

Edited by RampionRampage
Link to comment
Share on other sites

You may not have your script set as a quest script. With the Quest window closed, open the script and in the Script Edit window check that the Script Type is set to Quest and not Object or Effect. If is, change it to Quest and then save it. Reopen your Quest and check if you can select your script now.
Link to comment
Share on other sites

You may not have your script set as a quest script. With the Quest window closed, open the script and in the Script Edit window check that the Script Type is set to Quest and not Object or Effect. If is, change it to Quest and then save it. Reopen your Quest and check if you can select your script now.

 

...thanks. I'll look into that in the morning... been at this too many hours.

 

One of the frustrating things is that this mundane/logical detail (a la Michael Bolton) is the kind of thing that just doesn't show up in google searches. -.-

Link to comment
Share on other sites

yeah, Vienna has it right I think,

By default, scripts are Object scripts

there are three kinds of script...

Object, Quest and Effect

 

you'll want Quest. otherwise it won't show up in the quest scripts lists

 

There's a dropdown in the Script Editor for Script Type, you can pretty much change them arbitrarily, but if its an effect, you'll need to code a bit differently to account for that...using ScriptEffectUpdate and suchlike as blocks instead of GameMode.

 

Hope this clears things up for you :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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