ItsDeltin / Overwatch-Script-To-Workshop

Converts scripts to Overwatch workshops.
207 stars 24 forks source link

Cannot set player variable for PlayersInSlot #490

Closed SlenderFox closed 1 week ago

SlenderFox commented 2 weeks ago

image image As shown it is possible to set the player variable when accessed using AllPlayers() but not when using PlayersInSlot. Parameters have no impact.

SlenderFox commented 2 weeks ago

I found a workaround to cast the result of PlayersInSlot to Player then access it, I still think it shouldn't need the workaround. (<Player>PlayersInSlot(0, Team.Team2)).base_tier = -1;