Checking a player's skill to preform task
- Kamer
- Posts: 583
- Joined: Mon Mar 05, 2018 9:26 pm
Re: Checking a player's skill to preform task
That would be next update right?
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Checking a player's skill to preform task
Yes. I'm aiming for another release by end of March, and I'll include this as part of that update.
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Checking a player's skill to preform task
I've implemented a minimum attribute trigger with the following signature:
Here's an example task that will trigger when character's Strength is 60 or greater:
Attribute names are drawn from the DFCareer.Stats enumeration:
This will be in next round of builds, which should drop this weekend.
Code: Select all
when attribute attributeName is at least minAttributeValue
Code: Select all
_attributeTest_ task:
when attribute Strength is at least 60
say 1045
Code: Select all
public enum Stats
{
None = -1,
Strength = 0,
Intelligence = 1,
Willpower = 2,
Agility = 3,
Endurance = 4,
Personality = 5,
Speed = 6,
Luck = 7,
}
- Jay_H
- Posts: 4072
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Checking a player's skill to preform task
Excellent! Thank you!
- Kamer
- Posts: 583
- Joined: Mon Mar 05, 2018 9:26 pm
Re: Checking a player's skill to preform task
Oh yes, this is going to be fantastic.