Yes I solved that problem. Now heroes can't use abilities, but some abilites make heroes lose mana and shows casting animation. (Bladestorm, Divine Shield, ...)
Edit:
This is the trigger:
function Trig_Hero_Select_Orders_Conditions takes nothing returns boolean
if...
Thanks for your help.
--
I am using enumerators in C++ and "foreach" loops in PHP. I feel like I am doing something wrong when I use a seperate function. Also I don't want to use globals to pass information.
Edit:
It doesn't work. Other triggers work fine, but WC3 disappears after 6-7 seconds...
I have a triger called "Hero Select Orders". It's a part of my double-click-hero-selection system. It has to disable all orders issued to that unit. (I remove 'Aatk' and 'Amov', but they still can use abilities.)
I made this trigger, but when I enable this all triggers gets disabled somehow...
I am trying to code a set of functions to make adding commands like "-<commandname> <parameter>" easier.
Here is the functions I use:
//Conditions
function CONDITION_NONE takes nothing returns boolean
return true
endfunction
function CONDITION_HOSTONLY takes nothing returns boolean...
I've made a double-click-hero-selection-system. When a player selects a hero, it becomes his/her hero, so everybody can select a hero once to see its abilites. (Preview)
All heroes are in the same region and I want to pick them, make all of their abilities level "1" and disable the "+" button...
I am modifying an existing map, but I have a problem. When I turn "View -> Pathing - Ground" on I see grey places that I can't put any units in WE and can't pass in W3:
How can I modify that gray place to free up some space for my modification?
I am searching for the original unprotected Enfo's Team Survival. I've found one and made lot's of changes, but today I realised that the map I've found was edited and teams, leaderboard, etc. were broken. It would be really great if someone can give me the original unprotected ETS.
Thanks in...
I will hardcode it by checking the Item-Type.
Edit:
It works now; but I have to add every Ring I make to this trigger:
Rings
Events
Unit - A unit Acquires an item
Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Item being...
I am working on an Item System. I want to limit items:
-Maximum 2 rings
-Maximum 1 boot
-Maximum 1 helmet etc.
My items names are like this "Ring of AlicanC (Level 1 Ring)", "Frozen Sword (Level 2 Weapon)"
So I make last 4 letter of my items (without ")") an item code like "Ring", "apon"...