# How to activate and deactivate an actor in a map using a trigger box?

**URL:** <https://forums.unrealengine.com/t/how-to-activate-and-deactivate-an-actor-in-a-map-using-a-trigger-box/284279>\
**Category:** World Creation\
**Tags:** actor, trigger, box, unreal-engine, question\
**Created:** [May 26, 2014, 2:44pm UTC](https://forums.unrealengine.com/t/how-to-activate-and-deactivate-an-actor-in-a-map-using-a-trigger-box/284279 "2014-05-26T14:44:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abrar.b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@abrar.b](https://forums.unrealengine.com/u/abrar.b)\
**Post date:** [May 26, 2014, 2:44pm UTC](https://forums.unrealengine.com/t/how-to-activate-and-deactivate-an-actor-in-a-map-using-a-trigger-box/284279/1 "2014-05-26T14:44:05Z")

</div>

Sorry for my bad english.  
Is it possible to deactive an actor in map and activate it again when player trigger a box? for example i have a room with a door. i want to put deactive enemy characters in map and active them when player come in to room and trigger the door.

---

<div class="post-metadata">

**Author:** ![Zeustiak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zeustiak](https://forums.unrealengine.com/u/Zeustiak)\
**Post date:** [May 27, 2014, 9:27am UTC](https://forums.unrealengine.com/t/how-to-activate-and-deactivate-an-actor-in-a-map-using-a-trigger-box/284279/2 "2014-05-27T09:27:09Z")

</div>

You want to deactivate just the actors or can you deactivate the entire room behind the door?

If you can do the entire room I suggest you look into level streaming as this does exactly that. Also, you use a trigger box to load the level which also does what you need it to do.

Actually, you can make a streaming level in the room and add only the actors you want streamed, if for whatever reason you need the room to exist at all times.

---

<div class="post-metadata">

**Author:** ![abrar.b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@abrar.b](https://forums.unrealengine.com/u/abrar.b)\
**Post date:** [May 27, 2014, 4:11pm UTC](https://forums.unrealengine.com/t/how-to-activate-and-deactivate-an-actor-in-a-map-using-a-trigger-box/284279/3 "2014-05-27T16:11:27Z")

</div>

Thank you, can you give me a tutorial link about level streaming please?

---

<div class="post-metadata">

**Author:** ![Zeustiak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zeustiak](https://forums.unrealengine.com/u/Zeustiak)\
**Post date:** [May 28, 2014, 8:15am UTC](https://forums.unrealengine.com/t/how-to-activate-and-deactivate-an-actor-in-a-map-using-a-trigger-box/284279/4 "2014-05-28T08:15:36Z")

</div>

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

Also I was working on streaming a bit the other day:

> **[How do you reference a Level-to-be-streamed in Blueprint?](https://forums.unrealengine.com/questions/48274/how-do-you-reference-a-level-to-be-streamed-in-blu.html)**
>
> I am trying to load and unload stream levels. The node takes a “Level Name” input that is looking for a Name(I think). Do I just input the exact name as displayed in the level browser? Which is basically the same as it’s file name minus the .umap,...
