# How does this get updated?

**URL:** <https://forums.unrealengine.com/t/how-does-this-get-updated/1904360>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [June 15, 2024, 5:30pm UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360 "2024-06-15T17:30:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![q\_e\_e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Post date:** [June 15, 2024, 5:30pm UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/1 "2024-06-15T17:30:15Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/2/9e2b9df12dc1d132d1cb814d0fd5f893d526b275.png)  
I used Score Manager but it idoesn’t update for some reason but when I press tab it shows the score won or on the right hand side there is a trophey I get the score won on next to it

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [June 15, 2024, 7:19pm UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/2 "2024-06-15T19:19:57Z")

</div>

Do you have use Team Score enabled in the Island Settings?

---

<div class="post-metadata">

**Author:** ![q\_e\_e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Post date:** [June 16, 2024, 9:51am UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/3 "2024-06-16T09:51:44Z")

</div>

No it wan’t enabeled but when I enebaled it nothing changed it didn’t update the score

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [June 16, 2024, 9:58am UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/4 "2024-06-16T09:58:11Z")

</div>

Can you share the settings of the score manager device?

---

<div class="post-metadata">

**Author:** ![q\_e\_e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Post date:** [June 16, 2024, 9:59am UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/5 "2024-06-16T09:59:02Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/7/a37a46ea99a600e3adf804f498a6947e6cda674b.png)

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [June 16, 2024, 9:59am UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/6 "2024-06-16T09:59:45Z")

</div>

And when you activate this the players take the score but it doesnt reflect on the team hud up top?

---

<div class="post-metadata">

**Author:** ![q\_e\_e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Post date:** [June 16, 2024, 10:01am UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/7 "2024-06-16T10:01:57Z")

</div>

Yes, also I am using 2 devices one for each team  
I just started a session I will send you an image where the score gets updated

---

<div class="post-metadata">

**Author:** ![q\_e\_e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Post date:** [June 16, 2024, 10:03am UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/8 "2024-06-16T10:03:43Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/3/bf3463d908c4779673fb78b4e5b1fbd6ef580ef1.png)

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [June 16, 2024, 10:05am UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/9 "2024-06-16T10:05:13Z")

</div>

Thats not the score thats your wins

Team Score ≠ Team Wins, Score is local to the round and doesn’t carry across different rounds (With the exception of save point device but unrelated to this case)

---

<div class="post-metadata">

**Author:** ![q\_e\_e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Post date:** [June 16, 2024, 10:06am UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/10 "2024-06-16T10:06:39Z")

</div>

AAAAH… i thought its the same … well is it possible to show the wins like here?  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/9/6793257994db139afb239c8a8c87642dce9df493.png)

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [June 16, 2024, 10:08am UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/11 "2024-06-16T10:08:45Z")

</div>

Unfortunately not, sry.

---

<div class="post-metadata">

**Author:** ![q\_e\_e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Post date:** [June 16, 2024, 10:09am UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/12 "2024-06-16T10:09:52Z")

</div>

Ah well its alright

---

<div class="post-metadata">

**Author:** ![q\_e\_e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Post date:** [June 16, 2024, 10:11am UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/13 "2024-06-16T10:11:33Z")

</div>

By the way if I use a save device and award a point to the team on objective completed then for the next round it will save right? this way I can show case the wins make the points count as the wins … this would work right?

---

<div class="post-metadata">

**Author:** ![Hardcawcanary](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hardcawcanary/32/906569_2.png) [@Hardcawcanary](https://forums.unrealengine.com/u/Hardcawcanary)\
**Post date:** [June 16, 2024, 1:33pm UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/14 "2024-06-16T13:33:46Z")

</div>

Not sure, just an idea, but I wonder if the top HUD score is affected by the Send Event on Scoring setting,

Change the value from 999 to 1 and see if it updates.

It only mentions generating the On Score Output event for other linked devices, but I’m thinking maybe it could also affect the top HUD score, if it behaves like it is a linked device ???

---

<div class="post-metadata">

**Author:** ![q\_e\_e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Post date:** [June 16, 2024, 2:08pm UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/15 "2024-06-16T14:08:49Z")

</div>

I believe it wont change, that option will send an event when a certain score is acheived, I wanted to trigger to add points when the timer ends or when the cinematic device stops also I am trying to do it with verse, I tried to use a trigger device and it updated the score and know im trying to figure out how can I use the timer device or the cinematic device as a trigger

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [June 16, 2024, 9:52pm UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/16 "2024-06-16T21:52:25Z")

</div>

I suppose it could work but it would be really difficult to make it work because save point saves across sessions and there’s a chance it might even duplicate because I assume all player will try to load the score thus making it bigger than intended

---

<div class="post-metadata">

**Author:** ![q\_e\_e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Post date:** [June 16, 2024, 10:08pm UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/17 "2024-06-16T22:08:32Z")

</div>

If i clear the save when the game ends then i believe it won’t be a problem i tried it by the way and it worked but the problem is that the main hud didnt update only the scoreboard (TAB) i think its because the score manager doesn’t save the score at all and there is no way (I know of) can make it happen.  
I tried to create with verse a variable that updates when the score does but I couldnt get it to save between rounds it just keep reseting (if I could fix this this it will be a nice way to fix the problem)

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [June 16, 2024, 10:10pm UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/18 "2024-06-16T22:10:40Z")

</div>

Try to use session weakmaps I believe those can carry across rounds

---

<div class="post-metadata">

**Author:** ![q\_e\_e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Post date:** [June 16, 2024, 10:13pm UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/19 "2024-06-16T22:13:18Z")

</div>

Yes I tried that but for some reason the code doesnt intialise here is it if you want to check

```auto
var GlobalATKTeam:weak_map(session, int) = map{}
var GlobalDEFTeam:weak_map(session, int) = map{}
OnBegin<override>()<suspends>:void=

        Session := GetSession()
        if (ATKTeamValue := GlobalATKTeam[Session]):
            if (set GlobalATKTeam[Session] = 0):
                Print("Initialized ATK Team Score to 0")
        if (DEFTeamValue := GlobalDEFTeam[Session]):
            if (set GlobalDEFTeam[Session] = 0):
                Print("Initialized DEF Team Score to 0")
Loads(Agent:?agent):void=
        Print("Tessssst")
        Playspace: fort_playspace = GetPlayspace()
        AllPlayers: []player = Playspace.GetPlayers()
        
        for (PlayerAgent : AllPlayers):

            Session := GetSession()
            if (ATKTeamValue := GlobalATKTeam[Session]):
                if ( GlobalATKTeam[Session] = 1):
                    DefsScore.Trigger(PlayerAgent)
                    Print("AAA")
                else:
                     AtckScore.Trigger(PlayerAgent)
                    Print("DDD")

```

---

<div class="post-metadata">

**Author:** ![Mineblo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mineblo/32/1203575_2.png) [@Mineblo](https://forums.unrealengine.com/u/Mineblo)\
**Post date:** [June 16, 2024, 10:42pm UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360/21 "2024-06-16T22:42:30Z")

</div>

> [@MAJOR weak\_map GetSession() broken in 26.10](https://forums.unrealengine.com/t/major-weak-map-getsession-broken-in-26-10/1292369/10):
>
> This is unfortunately intended. Use of session as a key in a module-scoped var weak\_map may eventually gain back support for cross-round state (hence the scary “Note: …” part of the doc), but it was removed in 26.10. To protect against a behavior change (when cross-round state is added back), make sure to initialize your state at the beginning of OnBegin in a creative\_device, e.g. if: set GlobalInt[GetSession()] = 0

It seems that unfortunately they had changed how it works to not support cross round saving sry, I didnt know this change had happened sry for leading ya the wrong path.

[Next page](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360.md?page=2)
