Editing A beginner's guide, lesson 5 - Anatomy of a quest, part 2

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 661: Line 661:
  ''(sets the variables)''
  ''(sets the variables)''
    
    
  '''[[Begin]] [[OnActivate]]'''
  '''[[<u>Begin</u>]] [[<u>OnActivate</u>]]'''
  ''(starts when the altar is activated)''
  ''(starts when the altar is activated)''
   
   
Line 697: Line 697:
  ''a '''numerical value''' equivalent to the '''length''' of the mp3 file''
  ''a '''numerical value''' equivalent to the '''length''' of the mp3 file''
  ''that '''still has to play'''.''
  ''that '''still has to play'''.''
  ''So by setting the Variable called '''Timer''' to '''MS02LorgrenAltarRef.[[Say]] LorgrenSpeech 1 LorgrenBenirusNPC 1''',''
  '' So by setting the Variable called '''Timer''' to '''MS02LorgrenAltarRef.[[Say]] LorgrenSpeech 1 LorgrenBenirusNPC 1''',''
  ''you set the timer value to the length of time this response still left to play.''
  ''you set the timer value to the length of time this response still left to play.''
  ''As long as this is a positive number the script will not pass its if statement.''
  ''As long as this is a positive number the script will not pass its if statement.''
Line 704: Line 704:
  ''The IF condition passes and the script moves on to the next bit of the speech.)''
  ''The IF condition passes and the script moves on to the next bit of the speech.)''
   
   
  '''[[Set]] LorgrenBlab to 2'''
  '''[[<u>Set</u>]] LorgrenBlab to 2'''
   '''elseif ( LorgrenBlab == 2 )'''
   '''elseif ( LorgrenBlab == 2 )'''
  '''[[Set]] Timer to MS02LorgrenAltarRef.[[Say]] LorgrenSpeech 1 LorgrenBenirusNPC 1'''
  '''[[<u>Set</u>]] Timer to MS02LorgrenAltarRef.[[<u>Say</u>]] LorgrenSpeech 1 LorgrenBenirusNPC 1'''
   ''(repeats for each bit of the speech)''
   ''(repeats for each bit of the speech)''
  '''[[Set]] LorgrenBlab to 3'''
  '''[[<u>Set</u>]] LorgrenBlab to 3'''
   '''elseif ( LorgrenBlab == 3 )'''
   '''elseif ( LorgrenBlab == 3 )'''
  '''[[Set]] Timer to MS02LorgrenAltarRef.[[Say]] LorgrenSpeech 1 LorgrenBenirusNPC 1'''
  '''[[<u>Set</u>]] Timer to MS02LorgrenAltarRef.[[<u>Say</u>]] LorgrenSpeech 1 LorgrenBenirusNPC 1'''
   
   
  '''[[Set]] LorgrenBlab to 4'''
  '''[[<u>Set</u>]] LorgrenBlab to 4'''
   '''elseif ( LorgrenBlab == 4 )'''
   '''elseif ( LorgrenBlab == 4 )'''
  '''[[Set]] Timer to MS02LorgrenAltarRef.[[Say]] LorgrenSpeech 1 LorgrenBenirusNPC 1'''
  '''[[<u>Set</u>]] Timer to MS02LorgrenAltarRef.[[<u>Say</u>]] LorgrenSpeech 1 LorgrenBenirusNPC 1'''
   
   
  '''[[Set]] LorgrenBlab to 5'''
  '''[[<u>Set</u>]] LorgrenBlab to 5'''
   '''elseif ( LorgrenBlab == 5 )'''
   '''elseif ( LorgrenBlab == 5 )'''
   ''(ends the speech run)''
   ''(ends the speech run)''
  '''[[SetStage]] MS02 100'''
  '''[[<u>SetStage</u>]] MS02 100'''
   ''(bumps the stage)''
   ''(bumps the stage)''
   '''endif'''
   '''endif'''

Please note that all contributions to the Oblivion ConstructionSet Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see CSwiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Template used on this page: