# Bool value wont change on event

**URL:** <https://forums.unrealengine.com/t/bool-value-wont-change-on-event/360248>\
**Category:** Community & Industry Discussion\
**Tags:** custom-event, value, bool, overlap, change, unreal-engine, question\
**Created:** [June 9, 2016, 9:29pm UTC](https://forums.unrealengine.com/t/bool-value-wont-change-on-event/360248 "2016-06-09T21:29:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oli\_Charron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oli\_Charron](https://forums.unrealengine.com/u/Oli_Charron)\
**Post date:** [June 9, 2016, 9:29pm UTC](https://forums.unrealengine.com/t/bool-value-wont-change-on-event/360248/1 "2016-06-09T21:29:31Z")

</div>

I’m having a little problem with a bool value that doesn’t change when an event trigger the change. I’ve made a character that spawns a scout, when the scout overlaps the player it should change the value of the bool value in the character so it can fire his event. I’ve debugged the scout to see if it wasn’t a overlap problem but it’s not. If anyone can help me and explain why the bool doesn’t change it would be greatly appreciated. here’s a pic of the BP of the scout

 ![94048-bool_prob.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/f/aff4bbffdd7aac87953b5f093d74167f56be0d3f.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ef23e124](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ef23e124](https://forums.unrealengine.com/u/anonymous_user_ef23e124)\
**Post date:** [June 9, 2016, 9:34pm UTC](https://forums.unrealengine.com/t/bool-value-wont-change-on-event/360248/2 "2016-06-09T21:34:03Z")

</div>

,

I would put in a print statement to make sure the cast is not failing, as you have nothing pinned to that. Also put in a print statement right after the “Spot Player” node, to ensure that it is firing. This should give you a bit more information concerning what is going on.

Inc.

---

<div class="post-metadata">

**Author:** ![Oli\_Charron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oli\_Charron](https://forums.unrealengine.com/u/Oli_Charron)\
**Post date:** [June 10, 2016, 2:37am UTC](https://forums.unrealengine.com/t/bool-value-wont-change-on-event/360248/3 "2016-06-10T02:37:05Z")

</div>

the event is firing but the cast is failing with the prints, no name is displayed i need to find another way

---

<div class="post-metadata">

**Author:** ![Oli\_Charron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oli\_Charron](https://forums.unrealengine.com/u/Oli_Charron)\
**Post date:** [June 10, 2016, 5:23pm UTC](https://forums.unrealengine.com/t/bool-value-wont-change-on-event/360248/4 "2016-06-10T17:23:40Z")

</div>

i’ve madi it work by getting all actors from class, get and pinning the output in the input of the event
