Htowner: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m Categories |
||
Line 6: | Line 6: | ||
will set TEMP to the sprite ID of sprite who fired the weapon that is hitting [[THISACTOR]]. | will set TEMP to the sprite ID of sprite who fired the weapon that is hitting [[THISACTOR]]. | ||
[[Category:Sprite structure members]] |
Revision as of 07:00, 7 September 2006
If the actor/sprite is being hit by a weapon, htowner is the ID of the owner of the weapon.
For example:
getactor[THISACTOR].htowner TEMP
will set TEMP to the sprite ID of sprite who fired the weapon that is hitting THISACTOR.