[DiscordArchive] Any specific reason why you use multiple different entries?
[DiscordArchive] Any specific reason why you use multiple different entries?
Archived author: Foe • Posted: 2022-04-24T17:05:54.502000+00:00
Original source
Then you periodically send updates
Archived author: Honey • Posted: 2022-04-24T17:07:09.715000+00:00
Original source
Hold on. I can just add a method to a class? Like
```lua
function Player:UpdateWorldState(StateID, Value)
```
Archived author: Foe • Posted: 2022-04-24T17:07:13.982000+00:00
Original source
yeah
Archived author: Honey • Posted: 2022-04-24T17:07:26.427000+00:00
Original source
*cries in lua*
Archived author: Foe • Posted: 2022-04-24T17:07:52.937000+00:00
Original source
then you can just use ```player:UpdateWorldState(2313, ZoneBattles[0]) -- Set correct Alliance score```
Archived author: Foe • Posted: 2022-04-24T17:07:55.321000+00:00
Original source
as an example
Archived author: Foe • Posted: 2022-04-24T17:08:37.750000+00:00
Original source
I recommend doing that instead of pushing the player object as a function variable
Archived author: Foe • Posted: 2022-04-24T17:08:43.552000+00:00
Original source
since it checks that the object exists on call
Archived author: Honey • Posted: 2022-04-24T17:09:23.186000+00:00
Original source
I'd need to find some timer or counter. Should be doable. Oh my, i'll bes crolling this channel for the next 6 weeks until i've processed all that.
Archived author: Foe • Posted: 2022-04-24T17:09:33.650000+00:00
Original source