Jump to content

Quick Question


The Amazing Maurice

Recommended Posts

Can anyone just point me in the right direction:)? I can't get this interjection to compile...

 

INTERJECT_COPY_TRANS LLYNIS 11 BrageLlynisc

== BR#BragJ IF ~IsValidForPartyDialogue("BR#Brag")~ THEN

~Blah Blah Blah~

END

IF ~~ THEN DO ~ActionOverride(("llynis",Enemy())~

IF ~~ THEN DO ~ActionOverride(("BR#Brag",Attack("llynis")())~

EXIT

 

It gives me a syntax error on the first IF, after END...

 

Can anyone help, please? :)

Link to comment

iirs, you will have to use INTERJECT not I_C_T for it to work; also you do not need 2 command lines, just do the following:

 

IF ~~ THEN DO ~ActionOverride(("llynis",Enemy()) ActionOverride(("BR#Brag",Attack("llynis")())~

 

I_C_T will take a CHAIN syntaxis (iirc)

 

INTERJECT_COPY_TRANS LLYNIS 11 BrageLlynisc

== BR#BragJ IF ~IsValidForPartyDialogue("BR#Brag")~ THEN

~Blah Blah Blah~

DO ~ActionOverride(("llynis",Enemy()) ActionOverride(("BR#Brag",Attack("llynis")())~

END

 

BUT! make sure that you are not I_C_T into the last state of the convo after whic the speaker after which you interjected did something - otherwise the action will be transferred to Brag

Link to comment

Hmm.. this might be totally wrong, but will this work?

 

INTERJECT FIRKR01 23 BrageFirk01

== BR#BragJ IF ~IsValidForPartyDialogue("BR#Brag")~ THEN

~Blah Blah Blah~

== MINSC IF ~IsValidForPartyDialogue("Minsc")~ THEN

~Normal interjection~ plus actionoverride etc.

== MAZZY IF ~IsValidForPartyDialogue("Mazzy")~ THEN

~Normal interjection~ plus actionoverride etc.

Etc....

END

Link to comment
Hmm.. this might be totally wrong, but will this work?

 

INTERJECT FIRKR01 23 BrageFirk01

== BR#BragJ IF ~IsValidForPartyDialogue("BR#Brag")~ THEN

~Blah Blah Blah~

== MINSC    IF ~IsValidForPartyDialogue("Minsc")~ THEN

~Normal interjection~ plus actionoverride etc.

== MAZZY    IF ~IsValidForPartyDialogue("Mazzy")~ THEN

~Normal interjection~ plus actionoverride etc.

Etc....

END

You need a destination after the END when it's a normal INTERJECT. But yes, that would appear to work, just put a DO after each line that needs the action.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...