• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Opening an ability menu instantly. Trigger too slow.

Status
Not open for further replies.
Level 6
Joined
Jul 12, 2021
Messages
95
I make the following to open an ability menu:
  • Game - Force Player 1 (Red) to press the key c.
The key c is the hotkey of the ability. The problem is that the function "Game - Force UI Key (ForceUIKeyBJ)" is slow. The ability menu is opened but takes some time. Any possibilities to open an ability menu instantly? Perhaps this trigger can be sped up somehow?

I find it weird that the function "Game - Ability Button Pressed (TriggerRegisterCommandEvent)" exists to detect when a player presses an ability button, but there is no function to press it.


EDIT: I'm searching with a CASC viewer for a file that might explain why there is delay with that function. Haven't found anything so far.
 
Last edited:
Status
Not open for further replies.
Top