Jump to content

Question to use of several RESPONSE #xxx in scripts


jastey

Recommended Posts

In bd0101.bcs, I see the following for the NPC comments while everyone is waiting that the PC is ready to leave for the crusade:

First, Corwin has some DisplayStingHeads, with a Continue() for "RESPONSE #220":

Spoiler

IF
    Global("bd_mdd010z_ot","bd0101",1)
    !GlobalTimerNotExpired("bd_mdd010z_ot_timer","bd0101")
    Global("bd_rohma_banter","bd0101",8)
THEN
    RESPONSE #10
        SetGlobalTimer("bd_mdd010z_ot_timer","bd0101",ONE_ROUND)
        SetGlobal("bd_mdd010z_ot","bd0101",0)
        DisplayStringHead("bdschael",58179)  // Let's go, people, let's go! The crusade's on the move—we should be too!
    RESPONSE #10
        SetGlobalTimer("bd_mdd010z_ot_timer","bd0101",ONE_ROUND)
        SetGlobal("bd_mdd010z_ot","bd0101",0)
        DisplayStringHead("bdschael",58180)  // Two scouts, six in the vanguard, three on either side and behind. Eight-hour rotation.
    RESPONSE #10
        SetGlobalTimer("bd_mdd010z_ot_timer","bd0101",ONE_ROUND)
        SetGlobal("bd_mdd010z_ot","bd0101",0)
        DisplayStringHead("bdschael",58181)  // Has anyone seen that lackwit Zarno? Zarno!
    RESPONSE #220
        Continue()
END

Then, Dynaheir with a Continue() for "RESPONSE #190":

Spoiler

IF
    Global("bd_mdd010z_ot","bd0101",1)
    !GlobalTimerNotExpired("bd_mdd010z_ot_timer","bd0101")
    InMyArea("dynaheir")  // Dynaheir
    !InParty("dynaheir")  // Dynaheir
THEN
    RESPONSE #10
        SetGlobalTimer("bd_mdd010z_ot_timer","bd0101",ONE_ROUND)
        SetGlobal("bd_mdd010z_ot","bd0101",0)
        DisplayStringHead("dynaheir",58182)  // A motley crew to fight a holy war, this.
    RESPONSE #10
        SetGlobalTimer("bd_mdd010z_ot_timer","bd0101",ONE_ROUND)
        SetGlobal("bd_mdd010z_ot","bd0101",0)
        DisplayStringHead("dynaheir",58183)  // Where can we be of use?
    RESPONSE #10
        SetGlobalTimer("bd_mdd010z_ot_timer","bd0101",ONE_ROUND)
        SetGlobal("bd_mdd010z_ot","bd0101",0)
        DisplayStringHead("dynaheir",58184)  // The sooner this journey is begun, the sooner it will end. How much longer must we wait?
    RESPONSE #190
        Continue()
END

Then Minsc, with

RESPONSE #160
        Continue()

and then Viconia, with

    RESPONSE #120
        Continue()

and finally Safana with

    RESPONSE #90
        Continue()

Questions: how does this system with 10/10/10/xxx work? Why does the last number decrease from NPC to NPC?

 

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...