I'm quite new to the sc2 editor, but slowly I'm getting used to it. Beside many other problems there is one I cant find a solution for:
In my map every player will have an inventory. I created it with the help of tutorials and it works so far. But I want the Inventory to be automatically opened when you click yor Hero-Unit. (so you dont have to open it by hand every single time)
I tried to do via trigger, but cant find the right commands - if its possible that way.
Can somebody help me or give me a tip where to find the answer?
There is no way to change this. There is a workaround, however. It involves creating an inventory for every slot with a size of 0 slots each or something similar. There was a tutorial or a post on how to do this some time ago but I'm not sure where to find it...
I'm quite new to the sc2 editor, but slowly I'm getting used to it. Beside many other problems there is one I cant find a solution for:
In my map every player will have an inventory. I created it with the help of tutorials and it works so far. But I want the Inventory to be automatically opened when you click yor Hero-Unit. (so you dont have to open it by hand every single time) I tried to do via trigger, but cant find the right commands - if its possible that way.
Can somebody help me or give me a tip where to find the answer?
thx
i can confirm there is no way to do it
like the other post said, dialog custom ineterface at his best!
Necroing this thread to add that I just figured out how to do this. An action to do this was added in the 2.0.1 HOTS Beta Update.
There is now an action called Open Inventory Container. This can be used to open that unit's inventory container when selecting the unit. Below is a screenshot of the trigger I wrote to test this. It asks for an integer to refer to the container. I assume this is for a unit with multiple inventory containers. All my units only have one inventory so I just set it to 1.
Hopefully people didn't already talk about this on another thread. I found this thread a couple days ago while trying to figure out how to do this. Glad to say it is not impossible anymore.
ATTACHMENTS
example-open-inv.jpg
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello,
I'm quite new to the sc2 editor, but slowly I'm getting used to it. Beside many other problems there is one I cant find a solution for:
In my map every player will have an inventory. I created it with the help of tutorials and it works so far. But I want the Inventory to be automatically opened when you click yor Hero-Unit. (so you dont have to open it by hand every single time) I tried to do via trigger, but cant find the right commands - if its possible that way.
Can somebody help me or give me a tip where to find the answer?
thx
There is no way to change this. There is a workaround, however. It involves creating an inventory for every slot with a size of 0 slots each or something similar. There was a tutorial or a post on how to do this some time ago but I'm not sure where to find it...
i can confirm there is no way to do it
like the other post said, dialog custom ineterface at his best!
hm.. bad thing.
When I use a custum UI for my inventory, do I have to change the Inventory-System so far or is an custum UI just anther way of visualisation?
btw: in my first searches I cant find an written tutorial... I also think I saw something like it a few days ago.. but cant find it...
Necroing this thread to add that I just figured out how to do this. An action to do this was added in the 2.0.1 HOTS Beta Update.
There is now an action called Open Inventory Container. This can be used to open that unit's inventory container when selecting the unit. Below is a screenshot of the trigger I wrote to test this. It asks for an integer to refer to the container. I assume this is for a unit with multiple inventory containers. All my units only have one inventory so I just set it to 1.
Hopefully people didn't already talk about this on another thread. I found this thread a couple days ago while trying to figure out how to do this. Glad to say it is not impossible anymore.