Author Topic: Getting the source object's id from a projectile on damage?  (Read 528 times)

When I am doing echos for the sourceObject, it will either say: AIPlayer, Player or Projectile.

Most of the time it says Projectile, and I am wondering if there is a way to get the sourceObject of the projectile.

This is from

Code: [Select]
Armor::Damage( %this, %obj, %src, %pos, %dmg, %type )
« Last Edit: July 03, 2013, 08:27:13 PM by Advanced Bot »

Nevermind, I did echo(%src.dump); and found %obj.sourceObject