# C++ vehicle template based blueprint class BeginPlay

**URL:** <https://forums.unrealengine.com/t/c-vehicle-template-based-blueprint-class-beginplay/337504>\
**Category:** World Creation\
**Tags:** override, example, vehicle, beginplay, unreal-engine, question\
**Created:** [November 5, 2015, 4:01am UTC](https://forums.unrealengine.com/t/c-vehicle-template-based-blueprint-class-beginplay/337504 "2015-11-05T04:01:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_70fe7c30](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_70fe7c30](https://forums.unrealengine.com/u/anonymous_user_70fe7c30)\
**Post date:** [November 5, 2015, 4:01am UTC](https://forums.unrealengine.com/t/c-vehicle-template-based-blueprint-class-beginplay/337504/1 "2015-11-05T04:01:52Z")

</div>

Hi. I Found some problem in c++ vehicle template.  
I wanted to make blueprint vehicle class base on c++ vehicle pawn class in template.  
so, I made it. and after this, I implement BeginPlay Event on blueprint graph.  
But. It’s not working. When the game is played, only called parent’s BeginPlay c++ function.  
I can’t figure out what I’m missing.  
Is there anyone who has got the same problem?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_70fe7c30](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_70fe7c30](https://forums.unrealengine.com/u/anonymous_user_70fe7c30)\
**Post date:** [November 6, 2015, 12:51am UTC](https://forums.unrealengine.com/t/c-vehicle-template-based-blueprint-class-beginplay/337504/2 "2015-11-06T00:51:32Z")

</div>

I solve the problem.  
The point is that child blueprint’s BeginPlay is called when AActor::ReceiveBeginPlay() is called.  
so, if you wanna override default event, you have to call “Super::BeginPlay()” in your base class’s BeginPlay().
