Skip to content

Posts from Scripts

4.8 (8 ratings)
In reply to Dyrman
User Avatar
13 years ago
Auto-translated
Dyrman
Are there any interceptors for console commands?
Not really. Anti-cheat?
In reply to RedHeavenHero
User Avatar
13 years ago
Auto-translated
RedHeavenHero
Not really. Anti-cheat system?
To create your own teams and – yes, an anti-cheat system, but only with a report function. Then, tracking any sudden change in numbers (due to programs like ArtMoney). It would be useful not only for me but also for offline tournaments.

And is it impossible to input any data during an event?
User Avatar
13 years ago
Auto-translated
And probably the last question: how to transfer control to another (main) hero at certain moments. (I.e., move the camera from a secondary hero to the main one and highlight him).
You can temporarily assign the secondary hero to another player, and control will be transferred to the main hero, and after a while, return the secondary hero to the player.
In reply to Spectral
User Avatar
13 years ago
Auto-translated
Spectral
You can temporarily assign a secondary hero to another player, and control will switch to the main hero, and after a while, the secondary hero will be returned to the player.
This maneuver doesn't always work. The hero may switch to another player, but will still be highlighted.

Added after 49 seconds
Dyrman
To create your own teams and - yes, anti-cheat, but only with a report. Then, tracking a sharp change in any quantity (due to programs like ArtMoney). It would be useful not only for me but also for offline tournaments.

And is it impossible to prevent the input of any data?
In offline tournaments, they make saves, right? Then you can load it, open the console, and click the up arrow; all the entered commands are saved there. Your own commands? :confused: And in this case, the console is not trackable through scripts. :smile32:
User Avatar
13 years ago
Auto-translated
Guys, is there a way to make a hero cast a targeted spell during a regular attack? Is it possible to use a combat script to trigger castherospell?
In reply to Heroist
User Avatar
13 years ago
Auto-translated
function AttackerHeroMove(hero)
UnitCastAimedSpell(hero, SOME_SPELL, SOME_TARGET)
return 1
end
User Avatar
13 years ago
Auto-translated
Isn't this a function that affects the hero's turn? I need the script to trigger specifically when there's a "normal click on the enemy" ;)
For example, hero abilities like "stunning strike," "some kind of demon strike," and so on, which apply a spell to the attacked target.
In reply to Heroist
User Avatar
13 years ago
Auto-translated
Oh, well, in that case, no.
User Avatar
13 years ago
Auto-translated
Ah, that’s a shame. But how did the developers manage to do it? It seems impossible for us, mere mortals. ;)
In reply to Heroist
User Avatar
13 years ago
Auto-translated
Heroist
Ah, that's a shame. But how did the developers manage it? Is it something inaccessible to us, mere mortals? ;)
They possessed the secret of the artifact called H5_Game.exe. :smile41: And they still keep it.
User Avatar
13 years ago
Auto-translated
Okay...
User Avatar
13 years ago
Auto-translated
Guys, is it possible to use the same name for a variable, a function, and a text message at the same time?
In reply to Heroist
User Avatar
13 years ago
Auto-translated
Heroist
Hey, is it possible to use the same name for a variable, a function, and a text message simultaneously?
A function is also a variable. Therefore, you can name a text message and a variable with the same name (they won't interfere with each other), but you can't name a function and another variable with the same name.
User Avatar
13 years ago
Auto-translated
Yeah. That's where I made a mistake. Thanks ;)
User Avatar
13 years ago
Auto-translated
Hey, can anyone point me to some information about creating quests using scripts? Thanks in advance.

Statistics

Welcome our newest member: recijeb