Difference between revisions of "A beginner's guide, lesson 5 - Anatomy of a quest, part 2"
Jump to navigation
Jump to search
m
A beginner's guide, lesson 5 - Anatomy of a quest, part 2 (edit)
Revision as of 13:57, 25 June 2006
, 13:57, 25 June 2006formatting the code list
imported>Juharfalvi m (formatting the code list) |
imported>Juharfalvi m (formatting the code list) |
||
Line 521: | Line 521: | ||
'''set Doonce2 to 1''' | '''set Doonce2 to 1''' | ||
'''end''' | '''end''' | ||
This block is the first to become active (have its IF conditions met) | This block is the first to become active (have its IF conditions met) | ||
'''if ( GetStage MS02 >=80 ) && ( MenuMode == 0 ) && ( Doonce == 0 ) && ( Player.GetInCell ICElvenGardensTheKingandQueenTavern == 0 )''' | '''if ( GetStage MS02 >=80 ) && ( MenuMode == 0 ) && ( Doonce == 0 ) && ( Player.GetInCell ICElvenGardensTheKingandQueenTavern == 0 )''' | ||
'''VelwynBenirusRef.MoveTo MS02VelwynReturnMarker''' | '''VelwynBenirusRef.MoveTo MS02VelwynReturnMarker''' | ||
Line 551: | Line 551: | ||
(''this sets Velwyn into an Escort package'') | (''this sets Velwyn into an Escort package'') | ||
=='''Stage 85'''== | |||
''I've met Velwyn at The Count's Arms Tavern. He's agreed to escort me to the house and open the secret room.'' | |||
This forces Velwyn to evaluate his package selection. A new AI | |||
package will run called '''MS02VelwynManorEscort'''.(because it is the | |||
highest valid package in the list). This will make Velwyn Escort | |||
or stay close to you as you approach the manor. When he meets | |||
the conditions for this packages end, the next bit of the script | |||
becomes valid. | |||
'''begin onPackageEnd MS02VelwynManorEscort''' | '''begin onPackageEnd MS02VelwynManorEscort''' |