Jump to content

Can't get quest working right.


Recommended Posts

I can't get the script for my quest to save. It's a simple quest that checks if the player has a key in their inventory. If they don't, it sets the quest to the stage to look for the key. If they do, it sets the stage to the stage after they would've picked up the key.

 

here is my script:

 

scn agcTARDISquest20Script
begin onTriggerEnter player
if player.GetItemCount agcTARDISKey == 0
setStage agcTARDISquest to 20
else
setStage agcTARDISquest to 31
endif
end

 

 

the key is created, as is the quest.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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