I would like to activate a button (in the control panel) via a trigger. The button is linked to a target effect ability, and i want the player to be able to target, once the button has been activated.
To make the thing clear, let me explain what i want to do. I am working on an extension mod for advanced controls. One feature is to have a shortcut for active creep tumors. When the shortcut is pressed, the active creep tumors are selected, and the camera cycle on all the active tumors. I would like the trigger to « press » the SpawnCreepTumor button (linked to the CreepTumor-Build ability), and let player target the point where the CreepTumor-Build ability will be triggered.
It's part of a small example map which I've attached to this post in case you want to see the details. The trigger in this map is slightly more fleshed out.
Hi
I would like to activate a button (in the control panel) via a trigger. The button is linked to a target effect ability, and i want the player to be able to target, once the button has been activated.
To make the thing clear, let me explain what i want to do. I am working on an extension mod for advanced controls. One feature is to have a shortcut for active creep tumors. When the shortcut is pressed, the active creep tumors are selected, and the camera cycle on all the active tumors. I would like the trigger to « press » the SpawnCreepTumor button (linked to the CreepTumor-Build ability), and let player target the point where the CreepTumor-Build ability will be triggered.
Any ideas ?
Thank you in advance !
You can do this with the Set Targeting Order action.
Here's a basic example: http://peeeq.de/gui.php?id=3912
It's part of a small example map which I've attached to this post in case you want to see the details. The trigger in this map is slightly more fleshed out.
Hi
Thank you very much : it seems to be exactly what i need. I am not at home currently, but i will test it in a few days !
That works ! Thank you again !