I finally found my problem : I was using it in the wrong place
Now I have a problem with label
Here my code (I removed all the unusefull code (comment, text (there are in french so)) :
IF ~Some condition~
THEN BEGIN randomdialogue4
SAY ~Some text~
IF ~IsValidForPartyDialogue("Viconia")~ THEN
DO ~SetGlobal( "NodeGroup", "LOCALS", 4 )
SetGlobal( "NodeId", "LOCALS", 1 )
SetGlobal( "MMInterjectionSex", "GLOBAL", 1 )~
EXTERN VICONIJ 0
END
IF ~Global( "NodeGroup", "LOCALS", 4 )
Global( "NodeId", "LOCALS", 1 )~
THEN BEGIN randomdialogue4node1
SAY ~EOF~
END
INTERJECT_COPY_TRANS VICONIJ 0 MMViconiaSex
== VICONIJ
IF ~Global( "MMInterjectionSex", "GLOBAL", 1 )
InParty("Viconia")~
THEN
~~
== EDWINJ
IF ~Global( "MMInterjectionSex", "GLOBAL", 1 )
InParty("Edwin")
Gender(Myself, Female)~
THEN
~~
== KELDORJ
IF ~Global( "MMInterjectionSex", "GLOBAL", 1 )
InParty("Keldorn")
Gender("Edwin", Female)~
THEN
~~
END
The matter here, is that I've got the first node (0) since I go to VICONIJ state 0. I don't know how I could do so that I append to VICONIJ a node of myself (for example MMViconiaSex) via INTERJECT_COPY_TRANS since I will create a node in the state 0.
(I know, these are state not node, but well... I think it about the same in Infiniy Explorer
)
2. Always in Infinity Explorer, I have the following order :
Starting 1
-> Response
| -> VICONIJ state 0
| | -> Response
| | -> Response
| | | -> VICONIJ state 186 (my new node)
| | | | -> Response
| | | | -> Response
| | | | | -> KELDORJ state 252 (my new node)
| | | | | | -> Response
| | | | -> Response
| | | | | -> EDWINJ state 213 (my new node)
| | | | | | -> Response
| | | | | | -> Response
| | | | | | | -> KELDORJ state 252 (my new node)
| | | | | | | | -> Response
I that normal ? eg: why do I have the Keldorn node before the Edwin node ?