#Authority for Server-To-Client object not acting as expected?

1 messages · Page 1 of 1 (latest)

desert summit
#

Hello,

I am having a command on an object (that has authority) fail to run saying it doesn't have authority. This is on the host client. I have tried logging the authority of the object in start and update, and the entire time it says it has authority.

Basically I have an underlying stats object calling the command via an event:

_entityStats.OnStatValueChanged += CmdSetStatValue;

This event gets always gets invoked as a result of code that is executed on the server (via a separate Command)

Are events not supported for commands, or am I missing something else?

(I realized while writing this that an extra command is unnecessary but would still like to know how this works)

keen remnant