Its an item with unlimited charges and a cooldown. If I just mimic the item effect I would also need to mimic all of its validators and error messages which means double work.
As there is a "order targeting item" I thought it has to be possible!?
my problem seams quite simple in the first place. I want tu use an item via trigger. The inventory of the unit is searched and if the correct item is found, it should be simply used. (its an instant effect item)
But I cant figure out a way to do it. I thought I may use the issue order command. But I cant find a "use" abiltity. Do I have to use the Inventory ability of the different heroes? The problem with this would be that every hero has its own, unique inventory ability.
Yeah I am not worried about the performance of the code but of the trigger events. The blizzard tooltip for e.g. pressed Buttons as a trigger event is that it should only be used if absolutely nessesary because it will create a lot of network traffic.
re-setting a timer with every input also came to my mind. But I guess it would create an unnessesary amount of traffic if every input has to be captured and a trigger shoots every time!? Thats why I thought it would be best to use the APM score variables, but one of them seams to be an actual (but very short termed) value and the other one... yeah is it a rolling average?
Whats your favorite way to detect afk players (to eg start a kickvote)? I know there are two apm players scores but they seam to act a bit strange and i dont know if they are reliable enough.
But which one? I thoughts its the target priority override, but it seams not!? I just want all units to be equaly targeted, regardless of their weapons/equipment.
The ways I could think of were mentioned already by me and TyaStarcraft here in this thread!? I use behaviours, as I explaided, but I dont know if its the simplest/cleanest solution. Maybe not.
I must confess I'm kind of dumb in this case. I cant figure out what frame to use or to be more precise: I cant find out the syntax. I just create a new layout file and put the text in... thats it?
0
It has a button.
0
Really... I did EXACTLY what you did (ability, index) and it just dont do anything. Whats the trick?
0
You also wrote about the problem HERE. So I guess the library can not use items instant?
0
Its an item with unlimited charges and a cooldown. If I just mimic the item effect I would also need to mimic all of its validators and error messages which means double work.
As there is a "order targeting item" I thought it has to be possible!?
0
Hi,
my problem seams quite simple in the first place. I want tu use an item via trigger. The inventory of the unit is searched and if the correct item is found, it should be simply used. (its an instant effect item)
But I cant figure out a way to do it. I thought I may use the issue order command. But I cant find a "use" abiltity. Do I have to use the Inventory ability of the different heroes? The problem with this would be that every hero has its own, unique inventory ability.
0
Yeah I am not worried about the performance of the code but of the trigger events. The blizzard tooltip for e.g. pressed Buttons as a trigger event is that it should only be used if absolutely nessesary because it will create a lot of network traffic.
0
re-setting a timer with every input also came to my mind. But I guess it would create an unnessesary amount of traffic if every input has to be captured and a trigger shoots every time!? Thats why I thought it would be best to use the APM score variables, but one of them seams to be an actual (but very short termed) value and the other one... yeah is it a rolling average?
0
No turns.. simple real time... APM scores acts kind of weird doent it?
0
Like the title says.
Whats your favorite way to detect afk players (to eg start a kickvote)? I know there are two apm players scores but they seam to act a bit strange and i dont know if they are reliable enough.
So does anyone detect such players and how?
0
But which one? I thoughts its the target priority override, but it seams not!? I just want all units to be equaly targeted, regardless of their weapons/equipment.
0
The ways I could think of were mentioned already by me and TyaStarcraft here in this thread!? I use behaviours, as I explaided, but I dont know if its the simplest/cleanest solution. Maybe not.
0
No ideas? 😃
0
Same here. The performance of the server isnt best anyway or is this only my impression?
0
I must confess I'm kind of dumb in this case. I cant figure out what frame to use or to be more precise: I cant find out the syntax. I just create a new layout file and put the text in... thats it?
0
Is it also possible to add an image to the inventory container and not to the individual slots?
I have nearly no experience with layout files - can you give me an example for hiding the hotkey and adding an image to slots and containers? :)