Jump to content

I need some help please


Kitanna

Recommended Posts

I didn't notice at first, but is this an area script - KKNar1700.baf? If it is, using LOCALS to trigger dialog will fail, because they're only used by actors.

IF
  CombatCounter(0)
  NumDead("KKBarbs",5) // this should be whatever you set in their WRITE_ASCII 0x280, can be ~NumDead("KKBarbs",4) Dead("KKAmana")~ too, if you want them to have different DVs
  Global("KKMissingWarriors","GLOBAL",7)
 Global("KKDeadWarriors","AR1700",0)
THEN
  RESPONSE #100
  SetGlobal("KKMissingWarriors","GLOBAL",8) // all enemies are dead
  SetGlobal("KKDeadWarriors","AR1700",1) // proceed to initiating dialog
END

IF
  Global("KKMissingWarriors","GLOBAL",8)
 Global("KKDeadWarriors","AR1700",1)
THEN
  RESPONSE #100
  ActionOverride("KKNavar",StartDialogueNoSet(Player1)) // make sure dialog has state trigger ~Global("KKMissingWarriors","GLOBAL",8)~, and that it's updated to 9 or whatever immediately in the first set of transitions
END

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...