This code is over 6 months old.
The code may have expired and might no longer function.
View original size
A code snippet for detecting moira's primary fire to be used in other workshop modes. Based on actual hero melee hitboxes as of 2023/06/19. https://imgur.com/a/2EFDNaS
It's a tool for other workshop devs rather than a gamemode.
Quick example: say you want to make enemies hit by Moira's primary healing fall asleep.
This code will accurately model whether an enemy gets hit by primary fire or not.
Workshop has no simple command for something like this; the easiest workarounds only work on teammates
4 Comments
What's the point?
As stated in the title: for hitting enemies lol. Vlosk gave a great explanation. Will be used in an upcoming mode of mine.
It's a tool for other workshop devs rather than a gamemode.
Quick example: say you want to make enemies hit by Moira's primary healing fall asleep.
This code will accurately model whether an enemy gets hit by primary fire or not.
Workshop has no simple command for something like this; the easiest workarounds only work on teammates
Ok, I understand, but where would you insert the "sleep" effect, for example, i.e. which rule or action