Hello all,
I have some confusion about events and I have come up with an idea but I don't know if this is correct. On actor creation and destruction, there are several events.
What I come up with
#1 and #2 should only be sent from server to client when an actor is created/destroyed, and requesting the proxy logic to do so.
#3 and #4 should be trigger when an actor is created/destroyed, on both server and client sides internally for human view to play some sound and animation.
Since scripts create actors directly without using event, they should also destroy actors without using event.
Is this a correct way to interpret these events?
Cheers,
Chi
I have some confusion about events and I have come up with an idea but I don't know if this is correct. On actor creation and destruction, there are several events.
- RequestCreateActor
- RequestDestroyActor
- CreateActor
- DestroyActor
What I come up with
#1 and #2 should only be sent from server to client when an actor is created/destroyed, and requesting the proxy logic to do so.
#3 and #4 should be trigger when an actor is created/destroyed, on both server and client sides internally for human view to play some sound and animation.
Since scripts create actors directly without using event, they should also destroy actors without using event.
Is this a correct way to interpret these events?
Cheers,
Chi