Summary
EliminatedEvent grants a invalid player eliminator.
Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Assets
Steps to Reproduce
Use this code and use a Hammer in a game. Damage a NPC and check how the eliminator player is not valid
NPCOrganicEliminatedEvent(EliminationResult : elimination_result) : void =
#Print("Eliminated event")
if(ValidEliminatingCharacter:=EliminationResult.EliminatingCharacter?,NPCCharacter:=EliminationResult.EliminatedCharacter, ValidAgent:=ValidEliminatingCharacter.GetAgent[]):
PrintWarning("Valid eliminating character")
if(ValidPlayer:=player[ValidAgent]):
PrintWarning("But the player is invalid")
else:
PrintWarning("Invalid eliminating character")
Expected Result
Player eliminator is valid
Observed Result
Player eliminator is not valid
Platform(s)
windows
Island Code
3289-1022-6941