Checking a player's skill to preform task

For all talk about quest development - creation, testing, and quest system.
User avatar
Kamer
Posts: 583
Joined: Mon Mar 05, 2018 9:26 pm

Re: Checking a player's skill to preform task

Post by Kamer »

That would be next update right?

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: Checking a player's skill to preform task

Post by Interkarma »

Yes. I'm aiming for another release by end of March, and I'll include this as part of that update.

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: Checking a player's skill to preform task

Post by Interkarma »

I've implemented a minimum attribute trigger with the following signature:

Code: Select all

when attribute attributeName is at least minAttributeValue
Here's an example task that will trigger when character's Strength is 60 or greater:

Code: Select all

_attributeTest_ task:
	when attribute Strength is at least 60
	say 1045
Attribute names are drawn from the DFCareer.Stats enumeration:

Code: Select all

public enum Stats
{
    None = -1,
    Strength = 0,
    Intelligence = 1,
    Willpower = 2,
    Agility = 3,
    Endurance = 4,
    Personality = 5,
    Speed = 6,
    Luck = 7,
}
This will be in next round of builds, which should drop this weekend.

User avatar
Jay_H
Posts: 4061
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Checking a player's skill to preform task

Post by Jay_H »

Excellent! Thank you!

User avatar
Kamer
Posts: 583
Joined: Mon Mar 05, 2018 9:26 pm

Re: Checking a player's skill to preform task

Post by Kamer »

Oh yes, this is going to be fantastic.

Post Reply