I do not have any proble with testing whether or not a node (in a conversation) is equal or not equal to a certain value, but I have not been able to test for a greater than, less than, greater or equl;a to or less than or equal to instance.
I have seen it done in scripting but not in the node conditional on a conversation. I have been told that it is possible, but I have never been able to figure how to do it.
Can anyone shed any light on this?
Testing Journal Nodes with Boolean Logic
Débuté par
JonnieR
, sept. 29 2010 11:10
#1
Posté 29 septembre 2010 - 11:10
#2
Posté 30 septembre 2010 - 12:48
Under the gc_journal_entry script in the conditional you should be able to use the <, >, <=, >= operators. I'm not sure if you can use more than one at once. I normally just put in a bunch of "or"s and check each journal possibility I want independently.
#3
Posté 30 septembre 2010 - 01:08
The gc_journal_entry script does not allow for every combination possible (I could be wrong). Anyway, here's a simple version that expands the options: http://nwcitadel.for...663&postcount=4
Modifié par _Knightmare_, 30 septembre 2010 - 01:09 .
#4
Posté 30 septembre 2010 - 09:29
gc_journal_entry uses the CompareInts function in ginc_var_ops, so you should be able to check for greater than, less than, not equal to using >, < !, respectively.
For example: >100 should check for greater than 100.
Regards
For example: >100 should check for greater than 100.
Regards
#5
Posté 16 octobre 2010 - 06:18
In a script you can do:
Where ### is your journal entry then do all the tests you want.
iQuestEntry = GetLocalInt(oPC, "NW_JOURNAL_ENTRY###");
Where ### is your journal entry then do all the tests you want.





Retour en haut






