How to fix these warnings?

Hello Reeyawn,

Yellow Squigglies?! What does it say when you hover over them?

Sorry, I should have included that in a reply to begin with.

So far I’ve gotten this with line 4:

if (CurrentTier := TeamMap[PlayerTeam][Teammate]) { set WeaponTier = CurrentTier }

and it seems to be working but, I can’t seem to split up line 1 into 2 expressions without it giving me a bunch of errors.

Thanks for that.

I remember seeing this and being able to use the hover text to rework the code.

But it was a much simpler case and I’ve been slacking on my Verse studies. :person_facepalming:

Wouldn’t you need to set the new ‘Current Tier’ before using it in the if statement? (Maybe it’s ok not to)

Would you need another/different ‘Value’ for the second TeamMap?

Hopefully a Verse-Savvy community member who knows what they’re talking about will chime in. :slightly_smiling_face:

Do

Temp := FailableExpression[]
set WeaponTier = Temp

instead of

set WeaponTier = FailableExpression[]
1 Like