[JASS] Need help to make Taverns area always visible

Status
Not open for further replies.
Level 2
Joined
Dec 29, 2014
Messages
7
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:
 

Attachments

  • jass.zip
    571.4 KB · Views: 55
If you want to show code: http://www.hiveworkshop.com/forums/miscellaneous-tutorials-456/how-easily-post-triggers-163285/

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.
 
Level 2
Joined
Dec 29, 2014
Messages
7
thank you for attention.

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 :ogre_frown: or its easyest to create a rectangle area like u said ?(in vJass ofcourse)
 
Level 2
Joined
Dec 29, 2014
Messages
7
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.
 
Level 2
Joined
Dec 29, 2014
Messages
7
i attach the map, can u create a GUI trigger in a protected map? i'm newbie to do this
 

Attachments

  • imba.w3x
    7.7 MB · Views: 62
Status
Not open for further replies.
Top