Difference between revisions of "Talk:A beginner's guide, lesson 5 - Anatomy of a quest, part 2"

m
imported>SmokingRope
imported>A Colossal Problem
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:


:It's a bug in the wiki, just avoid it by breaking up long sentences. --[[User:MaXiMiUS|MaXiMiUS]] 14:43, 25 June 2006 (EDT)
:It's a bug in the wiki, just avoid it by breaking up long sentences. --[[User:MaXiMiUS|MaXiMiUS]] 14:43, 25 June 2006 (EDT)
::Oh, darn.  I just re-concatenated several hard-wrapped paragraphs to fix broken italics, not knowing that this might mess up the paragraphs themselves.  Luckily, it looks like nothing broke.  --[[User:JustTheBast|JustTheBast]] 00:01, 4 February 2007 (EST)


== The unlocking of the door ==
== The unlocking of the door ==
Line 15: Line 17:
However, in stage 100 and beyond there is no indication of how or why the door is ever unlocked again. Some investigation led me to the door MS02BenirusSecretDoor and it's script aptly titled MS02SecretDoor.
However, in stage 100 and beyond there is no indication of how or why the door is ever unlocked again. Some investigation led me to the door MS02BenirusSecretDoor and it's script aptly titled MS02SecretDoor.


   ''Scriptname MS02SecretDoor''
   '''Scriptname MS02SecretDoor'''
 
  '''[[Begin]] [[OnActivate]]'''
  ''';Activation Capability for door after stage 88 and post quest'''
 
  '''if ( [[GetStage]] MS02 >= 110 ) && ( [[IsActionRef]] [[Player]] == 1 )'''
  '''  [[Activate]]'''
  '''elseif( [[GetStage]] MS02 >= 90 ) && ( [[IsActionRef]] VelwynBenirusRef == 1 )'''
  '''  [[Activate]]'''
  '''endif'''
 
  '''end'''
    
    
   ''[[Begin]] [[OnActivate]]''
   '''[[Begin]] [[GameMode]]'''
   '';Activation Capability for door after stage 88 and post quest''
  '''  [[Unlock]]'''
   '''end'''
 
I'm still slightly confused as to how this script works as the 'begin gamemode' portion indicates to me the door would be unlocked every time the player clicked on the door, thus making it quite easy for the player to get through the door after each frame and when the player clicks on the door!
 
However it is obvious that once the player has reached stage 110 they would be able to get through the unlocked door due to the explicit call to [[Activate]].
 
--[[User:SmokingRope|SmokingRope]] 20:15, 7 January 2007 (EST)
 
== Little Help ==
 
I've been using the beginner's guide for about 2 days now and it's been helping a lot with making my quest, but I'm trying to design a scene in it and I'm having a bit of trouble with the scripting part. What I'm trying to do is when the player uses the chest and puts in the letter, it will update the quest to Stage 80. Honestly, I can't find out what I've done wrong with this one:
 
scn ACPAmbushChestScript
 
Short DoOnce
 
Begin OnActivate


  ''if ( [[GetStage]] MS02 >= 110 ) && ( [[IsActionRef]] [[Player]] == 1 )''
if (GetStage ACP001 = 75 ) && ( DoOnce = 0 )  
  ''  [[Activate]]''
  ''elseif( [[GetStage]] MS02 >= 90 ) && ( [[IsActionRef]] VelwynBenirusRef == 1 )''
  ''  [[Activate]]''
  ''endif''


  ''end''
:SetStage ACP001 = 80


  ''[[Begin]] [[GameMode]]''
endif
  ''  [[Unlock]]''
  ''end''


I'm still slightly confused as to how this script works as the 'begin gamemode' portion indicates to me the door would be unlocked every time the player clicked on the door, thus making it quite easy for the player to get through the door after each frame and when the player clicks on the door!
end


However it is obvious that once the player has reached stage 110 they would be able to get through the unlocked door due to the explicit call to [[Activate]].
What happens is, after the PC puts the letter in, stage 80 should enable all of the assassins, along with my antagonist, who gives a speech in a way that is exactly the same as "Where the Spirits Have Lease". =/ I can handle the second part but I really cannot find out what's wrong with this part. Oh and I put the script on the chest it self...which might be what's wrong but I don't know. --[[User:A Colossal Problem|A Colossal Problem]] 02:36, 3 August 2008 (EDT)
:...forgot I said anything... My == Idiot not me = Idiot--[[User:A Colossal Problem|A Colossal Problem]] 02:38, 3 August 2008 (EDT)