Description:
The output of toolWielder in the objectKilled subsribtion seems a little wrong.
If an object is “killed” by an arrow, the toolWielder becomes the arrow itself, instead of the player.
Reproduction Steps:
Server:
Time:
Dicord Username:
Please attach your game log files as a zip to this post.
So, I found today, that this seems to happen, when using the arrow beam.
If the arrow beam is used, the player.array is not passed via the API.
Any Arrow Output:
identifier=24440
prefab=9466
name=Gotera(Clone)
usedTool=24453%20-%20Ka%20Karimata%20Arrow(Clone)
toolWielder=5190%20-%20VR%20Player%20Character%20New(Clone)
id=537912303
username=RayAllen
source=Impact
Arrow Beam Output:
identifier=23589
prefab=9466
name=Gotera(Clone)
usedTool=23675%20-%20Arrow%20Light%20Beam%20Effect(Clone)
toolWielder=23675%20-%20Arrow%20Light%20Beam%20Effect(Clone)
source=Impact
I just realized the real “error”:
There is no output for the mob on ObjectKilled.
That means: If two objects are killed at the exact same time (beam arrow and mob) only (possibly) the last object is sent via the subscription…