Difference between revisions of "OnHit - ObjectReference"

Jump to navigation Jump to search
223 bytes added ,  11:34, 26 November 2015
imported>Layam
imported>Wbunkey2244
Line 29: Line 29:
</source>
</source>


== Notes ==
== ''Italic text''Notes ==
akSource and akProjectile can be None under various circumstances:
akSource and akProjectile can be None under various circumstances:
*If specifying akSource, for example as a Weapon, akSource must be ''cast'' to the form that corresponds to the type. For instance, if(akSource ''as'' Weapon)...akSource = Weapon will yield a compiler error.
*This reference is an [[Actor Script|Actor]]:
*This reference is an [[Actor Script|Actor]]:
**akSource can be None if hit by a projectile attack where the projectile was not fired by a weapon or spell
**akSource can be None if hit by a projectile attack where the projectile was not fired by a weapon or spell
Anonymous user

Navigation menu