# What is the different there two functions?

**URL:** <https://forums.unrealengine.com/t/what-is-the-different-there-two-functions/2079737>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [October 22, 2024, 7:23am UTC](https://forums.unrealengine.com/t/what-is-the-different-there-two-functions/2079737 "2024-10-22T07:23:09Z")\
**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 22, 2024, 7:23am UTC](https://forums.unrealengine.com/t/what-is-the-different-there-two-functions/2079737/1 "2024-10-22T07:23:09Z")

</div>

for( Player : player, FortCharacter : Player.GetFortCharacter ):  
FortCharacter.DamagedEvent.Subscribe( HelloEvent )

if( Player : player, FortCharacter : Player.GetFortCharacter ):  
FortCharacter.DamagedEvent.Subscribe( HelloEvent )

Also I think For function is used to use like: for( 1 … 3 ): something~~ but above that, it has no number at all.

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [October 22, 2024, 8:22am UTC](https://forums.unrealengine.com/t/what-is-the-different-there-two-functions/2079737/2 "2024-10-22T08:22:53Z")

</div>

The first doesn’t exists, it’s a for loop used to iterate over multiple elements (or players), you only tried to provide one here

---

<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 21, 2024, 8:23am UTC](https://forums.unrealengine.com/t/what-is-the-different-there-two-functions/2079737/3 "2024-11-21T08:23:43Z")

</div>

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