ORK Framework 3 Integration

Announcements, support questions, and discussion for Quest Machine.
Post Reply
RustedGames
Posts: 1
Joined: Thu May 18, 2023 9:58 am

ORK Framework 3 Integration

Post by RustedGames »

Hello Tony,
When making the video tutorial I found under the ORKGiveExpQuestAction.cs script line 90 the order of the parameters are wrong

Code: Select all

statusValue.AddValue(value, false, false, true, false, ignoreLimit, ignoreBarrier, showFlyingText, new StatusValueChangeSource(null, combatant));
whereas it should be

Code: Select all

statusValue.AddValue(value, false, false, false, ignoreLimit, ignoreBarrier, showFlyingText, false, new StatusValueChangeSource(null, combatant));
I also changed the "checkLevelUp" flag to "false", otherwise the result of Adding the status value was unpredictable, (not sure if it is also a ORK3 bug though)

Code: Select all

statusValue.AddValue(
                   addValue:value, 
                   isCritical: false,
                   checkDeath: false,
                   checkLevelUp: false, 
                   ignoreLimit: ignoreLimit, 
                   ignoreBarrier: ignoreBarrier,
                   showFlyingText: showFlyingText, 
                   showConsole: false,
                   source: new StatusValueChangeSource(null, combatant));
I couldn't find how its being used in the ORK 3 source code, I might ask GamingIslove about it.

Best regards
User avatar
Tony Li
Posts: 20740
Joined: Thu Jul 18, 2013 1:27 pm

Re: ORK Framework 3 Integration

Post by Tony Li »

Hi,

Thanks. The ORK integration had gotten out of date. I made the same change that you did below, except I added a checkLevelUp inspector property that you can set to false. (It defaults to true.) This update will be in the next Quest Machine release.
Post Reply