# Reference value in EQS Score

**URL:** <https://forums.unrealengine.com/t/reference-value-in-eqs-score/468435>\
**Category:** AI\
**Tags:** EQS, unreal-engine, score, question\
**Created:** [July 21, 2020, 4:08am UTC](https://forums.unrealengine.com/t/reference-value-in-eqs-score/468435 "2020-07-21T04:08:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chopin\_7up](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chopin\_7up](https://forums.unrealengine.com/u/Chopin_7up)\
**Post date:** [July 21, 2020, 4:08am UTC](https://forums.unrealengine.com/t/reference-value-in-eqs-score/468435/1 "2020-07-21T04:08:39Z")

</div>

In the Document: [EQS Node Reference: Tests | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/Engine/ArtificialIntelligence/EQS/EQSNodeReference/EQSNodeReferenceTests/index.html)  
It shows " the closer a value is to Reference Value, the higher normalized result it will produce" a valuAbout the meaning of “Reference Value” in section “score property”.

But in my case, the closer gets the lowest value.

Is there anything wrong with my setting or the document is wrong ?

Calculate the angle between item and the x direction. The value of the front one should be 1, when using dot test.  
I got 0, when set the reference value as 1. The closest get the lowest value?

 ![307670-seting.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/f/d3f1e3f7b13c17c570c1216702ee8809dc255bdb.png)

 ![307681-result.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/7/147f856b13b4915e027e2a54578f2f8ddbe13f0e.png)

---

<div class="post-metadata">

**Author:** ![Chopin\_7up](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chopin\_7up](https://forums.unrealengine.com/u/Chopin_7up)\
**Post date:** [July 21, 2020, 4:25am UTC](https://forums.unrealengine.com/t/reference-value-in-eqs-score/468435/2 "2020-07-21T04:25:50Z")

</div>

I made another prove.  
Query in a 500\*500 grid. Reference value is 500. The point close to 500 get the lowest score.

![307683-query2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/a/18ab760c955d1b13d845c178a48e67b81ad4a17b.png)

 ![307685-seting2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/e/c7e9fa12ef9edfc30a50cc35e9e98379ada16bf9.png)

 ![307686-result2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/a/f7aec0d2b21e1fd5e2aff61ad21d2f33449c4cea.png)
