jastey Posted May 16, 2013 Share Posted May 16, 2013 I have to ask, again: !RealGlobalTimerNotExpired("RE_DreamTimer","GLOBAL") Means - what? The timer is expired? So, if I want to prevent the situation in my mod that Ajantis comes to the PC the same time the RE_DreamTimer is expired, BUT I also have to make sure my script fires in case the RE_DreamTimer is not set at all, this would mean I'd had to include RealGlobalTimerNotExpired("RE_DreamTimer","GLOBAL") ? Link to comment
Kulyok Posted May 16, 2013 Share Posted May 16, 2013 My head doesn't work well right now, but I'll look over my answer in the morning - there's a nuance we need to keep in mind. In short, don't use the second command, EVER, use the first, if you even want to bother(my advice: don't. Let the Crossmod handle this, it's their eparchy), because it would mean that either the timer hasn't been set at all, or the timer's expired. Link to comment
jastey Posted May 16, 2013 Author Share Posted May 16, 2013 What I would need is "The timer has not expired OR was not set at all". Wouldn't that be the second option? Link to comment
Mike1072 Posted May 16, 2013 Share Posted May 16, 2013 0x40B6 RealGlobalTimerExpired(S:Name*,S:Area*) NT Returns true only if the timer with the specified name of the specified area has been set at least once and has now expired. 0x40B7 RealGlobalTimerNotExpired(S:Name*,S:Area*) NT Returns true only if the timer with the specified name of the specified area has been set and has not yet expired. So !RealGlobalTimerExpired returns true if the timer has been set and hasn't expired or has never been set. And !RealGlobalTimerNotExpired returns true if the timer has never been set or has been set and has expired. Link to comment
jastey Posted November 7, 2013 Author Share Posted November 7, 2013 I changed all triggers in my dream script block to "!RealGlobalTimerExpired("RE_DreamTimer","GLOBAL")" - and now I have a report that dream scripts don't trigger at all. I am confused. Link to comment
Kulyok Posted November 7, 2013 Share Posted November 7, 2013 It should be !RealGlobalTimerNotExpired("PrefixNightTimer","GLOBAL"), shouldn't it? Link to comment
jastey Posted November 7, 2013 Author Share Posted November 7, 2013 I want the RE timer to be not expired (or not set at all), because I want to use this trigger for the Ajantis rest dialogues (which should not trigger if Valygar or Coran or Aran are lining up..). I should have stated this in the above post, sorry. Fact is, that I have now a bug report about night talks not triggering, and before I used !RealGlobalTimerNotExpired("PrefixNightTimer","GLOBAL") for ages with no complaints. BUT from the logic of what I have in mind it should be "!RealGlobalTimerExpired("RE_DreamTimer","GLOBAL")" in my case - I think. But I think I will just take it out - and live with bug reports about PC having multiple lovers upon rest. Link to comment
jastey Posted November 7, 2013 Author Share Posted November 7, 2013 I think I had a fault in my logic, the timer probably doesn't run all the time, meaning there isn't always a triggered event after it run, so maybe it doesn't run most of the time - then the "!RealGlobalTimerExpired("RE_DreamTimer","GLOBAL")" wouldn't trigger, obviously. I'll just leave it out and stop complicating things. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.