Author Topic: Small suggestion  (Read 3453 times)

0 Members and 1 Guest are viewing this topic.

Offline Wisp

  • Newbie
  • *
  • Posts: 2
  • Karma: +1/-0
    • View Profile
    • Email
Small suggestion
« on: August 28, 2009, 05:41:32 AM »
From what I can see, Neh'taniel is supposed to banter the PC when you return the depleted rift device and Amunator and his gang of malcontents disappear.
However, the banter is triggered by receiving the item shld27 and there is an AreaCheck in the dialogue state rather than in the script.

If the idea is for the banter to occur when Amunator disappears, I would suggest a different trigger instead of PartyHasItem("SHLD27"). Global("RiftGo","GLOBAL",1), for example. The variable is set when Amunator hands out the reward and is what causes the malcontents to disappear.

Also, having the AreaCheck in the dialogue can potentially result in a stutter bug, if Neh'taniel, for some reason, would attempt to initiate dialogue in a area other than the right one. Moving the AreaCheck from the dialogue state to the script accomplishes the same thing, but closes off this potential stutter bug.

Consequently, I would suggest that this block from sk#neht.baf
Code: [Select]
IF
InParty(Myself)
PartyHasItem("SHLD27")  // ~Saving Grace +3~
Global("Nehttrial2","GLOBAL",0)
CombatCounter(0)
THEN
RESPONSE #100
//    SetGlobal("Nehttrial2","GLOBAL",1)
Dialog(Player1)
END

is changed into this:
Code: [Select]
IF
InParty(Myself)
Global("RiftGo","GLOBAL",1)
Global("Nehttrial2","GLOBAL",0)
CombatCounter(0)
AreaCheck("AR0203")
THEN
RESPONSE #100
//    SetGlobal("Nehttrial2","GLOBAL",1)
Dialog(Player1)
END

And that this state from sk#neht.d
Code: [Select]
IF ~AreaCheck("AR0203")
PartyHasItem("SHLD27")
Global("Nehttrial2","GLOBAL",0)~ THEN BEGIN 0c
SAY @369
IF ~~ THEN REPLY @370 DO ~SetGlobal("Nehttrial2","GLOBAL",1)~ GOTO 5c
IF ~~ THEN REPLY @371 DO ~SetGlobal("Nehttrial2","GLOBAL",1)~ GOTO 1c
IF ~~ THEN REPLY @372 DO ~SetGlobal("Nehttrial2","GLOBAL",2)~ GOTO 13c
END

is changed into this:
Code: [Select]
IF ~Global("RiftGo","GLOBAL",1)
Global("Nehttrial2","GLOBAL",0)~ THEN BEGIN 0c
SAY @369
IF ~~ THEN REPLY @370 DO ~SetGlobal("Nehttrial2","GLOBAL",1)~ GOTO 5c
IF ~~ THEN REPLY @371 DO ~SetGlobal("Nehttrial2","GLOBAL",1)~ GOTO 1c
IF ~~ THEN REPLY @372 DO ~SetGlobal("Nehttrial2","GLOBAL",2)~ GOTO 13c
END

Offline kitanna

  • Moderator
  • Level 1
  • *****
  • Posts: 180
  • Karma: +1/-0
    • View Profile
    • Email
Re: Small suggestion
« Reply #1 on: September 13, 2009, 10:27:20 AM »
Thank you for your suggestion, I'll look into it as soon as I get the chance.  :)  I hadn't noticed it before nor had an issue with it but, there are alot of things that need help as far as Neht goes :P  I appreciate you pointing it out to me.
Sir Neh'taniel  NPC Mod
Calin NPC Mod - In Progress
Navarra NPC Mod  - In Progress