Jump to content

Scripting Question for Quest Progression


Deleted2746547User

Recommended Posts

I am hoping someone with a little exp. can give me some pointers on this:

 

I have a quest where the player places bombs in 10 different locations. There is no order to it, that is - the player can place them in the order he discovers the locations... I have everything scripted EXCEPT... how would you go about having the quest check against placed bombs in order to advance Stage.

 

I know how to do it if I make the player go in a particular order but not in a "free-form" route. Suggestions?

 

Thanks!

Link to comment
Share on other sites

I am hoping someone with a little exp. can give me some pointers on this:

 

I have a quest where the player places bombs in 10 different locations. There is no order to it, that is - the player can place them in the order he discovers the locations... I have everything scripted EXCEPT... how would you go about having the quest check against placed bombs in order to advance Stage.

 

I know how to do it if I make the player go in a particular order but not in a "free-form" route. Suggestions?

 

Thanks!

 

Quest Script:

 

scn DummyMyQuestScript

short sNumBombsPlaced

begin GameMode

if sNumBombsPlaced >= 10
	DoStuff (Advance stage, etc)
endIf

end

 

Activator Script for your bomb placement activators:

 

scn DummyMyQuestScriptActivator

begin OnActivate

Set DummyMyQuest.sNumBombsPlaced to (DummyMyQuest.sNumBombsPlaced + 1)

end

Link to comment
Share on other sites

I am hoping someone with a little exp. can give me some pointers on this:

 

I have a quest where the player places bombs in 10 different locations. There is no order to it, that is - the player can place them in the order he discovers the locations... I have everything scripted EXCEPT... how would you go about having the quest check against placed bombs in order to advance Stage.

 

I know how to do it if I make the player go in a particular order but not in a "free-form" route. Suggestions?

 

Thanks!

 

Quest Script:

 

scn DummyMyQuestScript

short sNumBombsPlaced

begin GameMode

if sNumBombsPlaced >= 10
	DoStuff (Advance stage, etc)
endIf

end

 

Activator Script for your bomb placement activators:

 

scn DummyMyQuestScriptActivator

begin OnActivate

Set DummyMyQuest.sNumBombsPlaced to (DummyMyQuest.sNumBombsPlaced + 1)

end

 

 

YOU ARE THE MAN~ :thumbsup:

 

THANK YOU!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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