Guest korean Posted August 11, 2007 Share Posted August 11, 2007 Hi, all. i have a question about weidu. INTERJECT or INTERJECT_COPY_TRANS == examj IF ~IsValidForPartyDialog("example") GlobalLT("foo","LOCALS",2)~ THEN ~@1~ == examj IF ~IsValidForPartyDialog("example") GlobalGT("foo","LOCALS",1)~ THEN ~@2 ~ END In above situation, one of two state will be skipped? Or improper structure to flow? Link to comment
berelinde Posted August 11, 2007 Share Posted August 11, 2007 Better to do it as two separate interjections, because if the first is false, the chain will break and you'll never see the second. INTERJECT_COPY_TRANS someguy 4 examplesomeguy1 == examj IF ~IsValidForPartyDialog("example") GlobalLT("foo","LOCALS",2)~ THEN ~@1~ END INTERJECT_COPY_TRANS someguy 4 examplesomeguy2 == examj IF ~IsValidForPartyDialog("example") GlobalGT("foo","LOCALS",1)~ THEN ~@2 ~ END Link to comment
Guest Guest Posted August 11, 2007 Share Posted August 11, 2007 /berelinde thank you for the answer! Link to comment
Kulyok Posted August 11, 2007 Share Posted August 11, 2007 WeiDU sets the hidden variable examplesomeguy1 to 1 every time you write an interjection, so using different variables and placing your personal prefix in front of it might be useful. For example, if your prefix is GG, then it's INTERJECT_COPY_TRANS someguy 4 GGexamplesomeguy1 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.