There is an other function to Apply Damage?
If the damage is applied by an actor (it is not a Pawn), Then it has not controller, then instigator is NULL.
I have never used Apply Damage because I don’t approve of violence in video games, but what is the actual question or problem? Do you need an instigator?
I haven’t tested this, but try just creating local variable AController* EventInstigator = nullptr; and pass this variable to the function. You can pass null Intigator in BP, so I assume it will work the same way in C++.
Hahaha!! Nice philosophy!!
Ok, I’m sorry… i feel like a idiot…
the instigator can be leave nullptr… it does works like this!!
But, i think the documentation must I should say that.
Normaly a get a crash when a NULL pointer is used.