Tar-Quaeron
New Member
- Reaction score
- 0
Hello,
Why does this trigger not work to close a door once it´s been opened?
Event: every 1 s of gametime
Conditions:
Actions: pick every unit in (region in front of door) and do (multiple actions)
Add picked unit to (unit group variable=frontdoor)
If, then, multiple actions,
If frontdoor is empty=True
Close door
Else
Clear frontdoor
Secondly I would have liked to create a spell based on defend which
costs mana
has a duration and cooldown
can still be deactivated before the duration ends
and which gives damage reduction to everything except magic and spell attacks
gives additional damage reduction to piercing attacks
I saw this post where in JASS there were some functions which recognised damage type. It looked quite complicated, (I have no knowledge of JASS) and you had to reconfigure the whole map to work with it. Is there a way to do this in GUI ? Is there other ways in JASS which work with the way the normal blizzard abilities/attacks deal with damage type?
Thank you so much for your help
Why does this trigger not work to close a door once it´s been opened?
Event: every 1 s of gametime
Conditions:
Actions: pick every unit in (region in front of door) and do (multiple actions)
Add picked unit to (unit group variable=frontdoor)
If, then, multiple actions,
If frontdoor is empty=True
Close door
Else
Clear frontdoor
Secondly I would have liked to create a spell based on defend which
costs mana
has a duration and cooldown
can still be deactivated before the duration ends
and which gives damage reduction to everything except magic and spell attacks
gives additional damage reduction to piercing attacks
I saw this post where in JASS there were some functions which recognised damage type. It looked quite complicated, (I have no knowledge of JASS) and you had to reconfigure the whole map to work with it. Is there a way to do this in GUI ? Is there other ways in JASS which work with the way the normal blizzard abilities/attacks deal with damage type?
Thank you so much for your help