Page 1 of 1

Task with same priority?

PostPosted: Sun Mar 17, 2019 4:16 pm
by P/o Prune
Is it possible to have two tasks with the same priority?
Or, why isn't it possible to have two tasks with the same priority?

I have to tasks "Look at object" (no override of anything, just general tasks)
They are both set to priority 500. But when I save and then check them one is set to priority 499.

Re: Task with same priority?

PostPosted: Mon Mar 18, 2019 12:30 am
by saabie
The priority is the order in which ADRIFT goes through all of the tasks looking for a match with player input, so you must never have two general tasks with the same priority or it would get confused.
If you have two tasks that match "Look at object" then ADRIFT needs to know which one to check restrictions for first, otherwise there would be no control over how the game worked and it would be full of weird bugs.

Whenever you create a new task with the same priority as an existing task, ADRIFT will change the priority of as many tasks as necessary to make room in the list for the new one while ensuring no two have the same priority.

Re: Task with same priority?

PostPosted: Mon Mar 18, 2019 6:02 am
by P/o Prune
Thanks Saabie. That explains it.