Hi, I'm trying to create a dialog button (25x25) with an scv image on it, but somehow it seems that the button tries to use the image as a border or something (i also tried setting the image type to normal)
is it even possible to get a SCALED image onto a button ?
edit: okay now I managed to see the image on the button, but now the button has no borders anymore AND the image is stretched vertically even though the button is a square !?!?!
@Artanis186:
did you have a look at the behavior modification list ? there are TONS of settings in there...
also maybe you could create a trigger like
onUnitIsAttacked
->chance to give unit a buff that makes it invulnerable for a short amount of time..
but this is a very dirty solution of course
Hi, since I don't have enough time to get into that right now, I'm looking for someone who has some experience at creating Heroes. I'm abled to create regular units, triggers and terrain at a decent rate, but I'm just not experienced with Hero creation.
I already created a basic map layout
If you are interested, I can offer a private teamspeak 3 server for communication, I'm german, but my english is decent.
How come that lik 80% of the successful maps on bnet EU are seriously bad and unpolished? Many US->EU ports are not localized, td maps are missing basic feature like a solid income/interest system, sometimes you can't even see how much money you get from killing enemies, many maps are spamming high amounts of error messages etc. I mean it's really not that hard to create those basics, why not do it when you go through the process of creating custom units etc. anyway ?
Please guys, when releasing a map to the public, make sure it's at least a bit polished, free of bugs and spelling mistakes. Thanks
I found another method to get my map to work, but I think region variables are useless, they cant be use in events at all, they just won't work. Thats probably the reason why you can't select them via UI in the first place
So I created a region array called unitRegions, and did this in the init:
Unit - Create 1 Tron Bike for player (Picked player) at ((Center of (Entire map)) [...]
Variable - Set unitRegions[(Picked player)] = (Region((Point(0.0, 0.0)), 10.0))
Region - Attach unitRegions[(Picked player)] to (Last created unit) with offset (Point(0.0, 0.0))
so no I attached the region to my unit...
now I created a trigger:
test
Events
Unit - Any Unit Enters gv_unitRegions[1]
Local Variables
Conditions
Actions
UI - Display "test" for (All players) to Subtitle area
gv_unitRegions[1] is custom code obviously, since variables can't be selected for enter region events via UI. BUT: This does not trigger. why ?
Is there a way to do this ? A unit is selected but the UI is hidden...the user needs to be abled to use skills without keypressed event...(it's just too delayed online)
edit:alternativly i could hide the whole UI but still SHOW the buttons. But how to do that? The only way to create ui elements i can think of is via dialogs which can't have hotkeys -.-
0
0
0
@Artanis186:
did you have a look at the behavior modification list ? there are TONS of settings in there...
also maybe you could create a trigger like
onUnitIsAttacked
->chance to give unit a buff that makes it invulnerable for a short amount of time..
but this is a very dirty solution of course
0
0
How can I change the default & maximum camera distance ? (so that people can actually scroll out further)
0
How come that lik 80% of the successful maps on bnet EU are seriously bad and unpolished? Many US->EU ports are not localized, td maps are missing basic feature like a solid income/interest system, sometimes you can't even see how much money you get from killing enemies, many maps are spamming high amounts of error messages etc. I mean it's really not that hard to create those basics, why not do it when you go through the process of creating custom units etc. anyway ?
Please guys, when releasing a map to the public, make sure it's at least a bit polished, free of bugs and spelling mistakes. Thanks
0
@s3rius:
I found another method to get my map to work, but I think region variables are useless, they cant be use in events at all, they just won't work. Thats probably the reason why you can't select them via UI in the first place
0
@pixartist:
no idea ? anyone ?
0
So I created a region array called unitRegions, and did this in the init:
Unit - Create 1 Tron Bike for player (Picked player) at ((Center of (Entire map)) [...]
Variable - Set unitRegions[(Picked player)] = (Region((Point(0.0, 0.0)), 10.0))
Region - Attach unitRegions[(Picked player)] to (Last created unit) with offset (Point(0.0, 0.0))
so no I attached the region to my unit...
now I created a trigger:
test
Events
Unit - Any Unit Enters gv_unitRegions[1]
Local Variables
Conditions
Actions
UI - Display "test" for (All players) to Subtitle area
gv_unitRegions[1] is custom code obviously, since variables can't be selected for enter region events via UI. BUT: This does not trigger. why ?
0
@FlauntRoK:
Yea, why is there a "Hotkey" marker when there are not hotkeys anyway ?
0
Is there a way to do this ? A unit is selected but the UI is hidden...the user needs to be abled to use skills without keypressed event...(it's just too delayed online)
edit:alternativly i could hide the whole UI but still SHOW the buttons. But how to do that? The only way to create ui elements i can think of is via dialogs which can't have hotkeys -.-
0
thanks, found a workaround for my problem...
0
sorry, i meant via trigger of course
0
Guys seriously, i need this :(
attached the map, look at tick2 and collision triggers
0
ARGH !?
how can i remove a region or remove rectangles from a region ? I hope this is not impossible -.-