Page 1 of 1

Override task ... How does it work?

PostPosted: Wed Aug 22, 2018 9:51 am
by P/o Prune
I'm a little mystified here :?

In my game it should be possible to smell some dirty clothes (no, don't even ask! 8) )
So I have created a task smell clothes wanting it to override the general task "Smell object"
The thing is that whenever I run the task I get the General task response.
What am I doing wrong?

General task "Smell object"
Task Priority 50041
Auto-fill Priority 10 (whatever that is)
Aggregate output where possible (checked)
Display completion message before executing actions
Task is repeatable (checked)

My Specific task:
Task should override "smell object"
"smell "some smelly clothes"
Task priority 50039
Auto-fill Priority 10
Aggregate output where possible (checked)
Display completion message before executing actions
Task is repeatable (checked)

Re: Override task ... How does it work?

PostPosted: Wed Aug 22, 2018 10:31 am
by Lazzah
P/o Prune wrote:I'm a little mystified here :?

In my game it should be possible to smell some dirty clothes (no, don't even ask! 8) )
So I have created a task smell clothes wanting it to override the general task "Smell object"
The thing is that whenever I run the task I get the General task response.
What am I doing wrong?

General task "Smell object"
Task Priority 50041
Auto-fill Priority 10 (whatever that is)
Aggregate output where possible (checked)
Display completion message before executing actions
Task is repeatable (checked)

My Specific task:
Task should override "smell object"
"smell "some smelly clothes"
Task priority 50039
Auto-fill Priority 10
Aggregate output where possible (checked)
Display completion message before executing actions
Task is repeatable (checked)

Whenever I create a new Specific Task, I always first of all change it to a general task, open the advanced tab and change the task priority by deleting a couple of the numbers, e.g. 50039 to 539. I also tick the "Prevent this task from being inherited" box. I then change it back to a specific task. This invariably makes the task work.

Maybe it would help if you opened the debugger and then type SMELL CLOTHES and see what is happening when you type the command.

Re: Override task ... How does it work?

PostPosted: Thu Aug 23, 2018 12:47 pm
by P/o Prune
Thanks, Lazzah. That did the trick... It works like a charm... :D