# Does creature can be included to Agent?

**URL:** <https://forums.unrealengine.com/t/does-creature-can-be-included-to-agent/2084110>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [October 24, 2024, 2:27am UTC](https://forums.unrealengine.com/t/does-creature-can-be-included-to-agent/2084110 "2024-10-24T02:27:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KrCha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/krcha/32/987705_2.png) [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Post date:** [October 24, 2024, 2:27am UTC](https://forums.unrealengine.com/t/does-creature-can-be-included-to-agent/2084110/1 "2024-10-24T02:27:38Z")

</div>

I want to Initialize creatures when they has spawned. So I code this:

```
InitCreatures( Agent:agent ):void=
    if( FC:= Agent.GetFortCharacter[] ):
        set spawnedCreatures += array{ FC }
        Print( "{spawnedCreatures.Length}" )

```

But it never prints the length! It Subscribes when the button device interacted. So I pressed. It never happens. How do I solve this thing?

---

<div class="post-metadata">

**Author:** ![KrCha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/krcha/32/987705_2.png) [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Post date:** [October 24, 2024, 3:13am UTC](https://forums.unrealengine.com/t/does-creature-can-be-included-to-agent/2084110/2 "2024-10-24T03:13:09Z")

</div>

I forgot to connect the spawner with verse device… now I’m gonna try again!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [November 23, 2024, 3:14am UTC](https://forums.unrealengine.com/t/does-creature-can-be-included-to-agent/2084110/3 "2024-11-23T03:14:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
