Difference between revisions of "OnHit - ObjectReference"

208 bytes removed ,  18:40, 3 March 2021
→‎Notes: removed a note that makes zero sense
imported>Thingy Person
imported>DavidJCobb
(→‎Notes: removed a note that makes zero sense)
Line 87: Line 87:
== Notes ==
== 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