Auto-translated
Wow, if something like that had happened even five years ago, it would have been amazing...
New here? I'm Roha — want a quick tour?
Holy cow, if something like this had happened even five years ago, it would have been amazing...
Will this be used in a mod to greatly expand its capabilities? If so, I would like to participate in the development - I am proficient in both regular and combat scripts, and I have extensive experience working with them.
Hmm, that was certainly something to consider. Is the script applied to both heroes? And would a rule stating that a script on the attacking hero is sufficient work here?
The problem isn't that. The patch launches a combat script for each client, even if it's only attached to one hero or is an auto-executing script.
If scripts are executed twice in PvP.... What if the script is told to be executed owner if the owner of the script is the attacker. The game can differentiate between attacker and defender so adding this rule will make one of the games to not execute the script.
Is it possible or there is a better solution?
SetGameVar('execution_thread', '1')
Break()Instead of '1' here could be the number of player who possess the hero.