Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
HI guys!
i have a kind of dota map "imba" and after the hero is chosen, the taverns area becomes fog-ed. My great request is to make this area visible all time, after the hero was chosen.
thanks a lot for any hint!
here is the jass file:
But you only have to create a simple trigger that fires when game starts. There is a GUI operation that lets you modify the visibility to a certain region for a player. Look at "Visiblitly - ... " actions.
So you just have to create a rectangle in editor at you tavern, and then set the visibility to "visible" to this region for all playing players.
In the middel of taverns i have a dummy model invisible to players, its a map hack detector. the position is:
set VisPickUnit =CreateUnit(Player(12), 'hfoo' , GetRectMinX(bj_mapInitialPlayableArea) + 600, GetRectMaxY(bj_mapInitialPlayableArea) - 600, 0.00)
the problem is: i have only the vJass code file, can't use the editor. maby is ok to create a second unit visible/invulnerabile to all players? (near taverns), but idk how to do that or its easyest to create a rectangle area like u said ?(in vJass ofcourse)
u right, its a old dota map with imba spells and protected, all authors (they are many) changed and improved map via .j file. i understood what i must to do, but idk how.
thanks for your time.
Open your map, press "R" to open the rect editor, then you can create a rect at the tavern.
Then create a GUI trigger with event that fires at map start and action "Visibility - Change Visibility to Visible at <YourRect> for Player X". (something like this)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.