HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

any way to detect the triggering collider? and xedamage's used sfx?

06-24-2009, 11:48 PM#1
Sinnergy
just wondered if there is any way to detect a colliding xecollider and use its values? lets say a hero of mine was collided by an xecollider extended struct, and in some event responses (if any) I can detect the xecollider struct and use its values, as well as the xedamage, detecting the model of the xecollider and the used special effect by the xedamage, thus, in this way, I can refer to the unit that is the source of the xedamage and do something with it.

example: a spell that reflects any spell that deals spell damage to my hero. When an enemy hero casts some kind of xecollider and hits my hero, I can use the xecollider's values to reflect the spell back to the unit that deals damage to my hero via xedamage, using the triggering xecollider's fxpath as my xecollider's fxpath, etc. as well as using the damage dealt by the spell to my hero and reflects it back to the xedamage source (it would be better, if it can detect the exact damage value used by xedamage, instead of using the reduced value).