Unable to fetch Grande Attacker Sourceview

Shanmukh

Member
Hello Team,
We are using Opsive weapon system in a multiplayer game that is integrated with photon, we are able to fetch the information(name) when other players shoot us with gun weapons, but while attacking with Granade unable to fetch the attacker's information. Please let us know how to fetch the attacker's information while we/opponent uses a grenade.

Sample code snippet:

PhotonView sourceView = PhotonNetwork.GetPhotonView(sourcePhotonViewID);
if (sourceView != null) {
source = sourceView.GetComponent<IDamageSource>();
}

Error: sourceView is coming as null
 
The source is not passed from the grenade. I'll make a note of it to add support for this.
 
UMP supports this :) also even has a killfeed to display who killed who with what. Any projectile, any roadkill, any kind of kill.
NOTE: recent bug found in UMP with fall damage, fixed for next update.
 
Top