Htowner: Difference between revisions
Jump to navigation
Jump to search
m Categories |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
If the actor/sprite is being hit by a | If the actor/sprite is being hit by a projectile, htowner is the ID of the owner of the projectile. | ||
For example: | For example: | ||
Line 5: | Line 5: | ||
getactor[THISACTOR].htowner TEMP | getactor[THISACTOR].htowner TEMP | ||
will set TEMP to the sprite ID of sprite who fired the | will set TEMP to the sprite ID of sprite who fired the projectile that is hitting [[THISACTOR]]. | ||
[[Category:Sprite structure members]] | [[Category:Sprite structure members]] |
Latest revision as of 05:05, 22 February 2018
If the actor/sprite is being hit by a projectile, htowner is the ID of the owner of the projectile.
For example:
getactor[THISACTOR].htowner TEMP
will set TEMP to the sprite ID of sprite who fired the projectile that is hitting THISACTOR.